Frequent words and trigraphs in text

Hello all,
how to get the most 30 frequent words in text and the most frequent trigraphs (three character in same order in text )?

note that : the text is none English text (Arabic text)

so I will get the result as

 
top 30 words 
abdbdns
asddd
wqwfqw
 
top 30 trigraphs 
abc
sed
asd

thanks

any help?

No.

When you give us no sample input; you say that want Arabic text; you say that the top 30 Arabic words you want are the three words abdbdns, asddd, and wqwfqw; the top 30 Arabic trigraphs you want are the three trigraphs abc, sed, and asd; we can't figure out what you're trying to do and don't see any way to get the results you say you want. So, there doesn't seem to be anything we can do that will help.

And, bumping up posts is against the rules.

And, updating a post with no new information doesn't help.

If you want help with a problem, give us sample input (including a description of its format), tell us how you want to process that input, and show us sample output corresponding to your sample input that matches the processing you said you wanted to perform.

Tell us where your input comes from and what form the output you want is supposed to take, what operating system you're using, and any specify any restrictions on shells or utilities that need to be observed (if there are any) in the tools used to help solve your problem. And with a problem like this, give us some idea of the volume of data you're going to be processing.

And, now I see that this is a duplicate of a thread you started in May: text statistics.

This thread is closed.