Hello guy, For ex. I use this code for find some word and code said me , how many time this word is in the text......but I want Know the most used word in the text...ok?
StringCount[Import["http://news.rice.edu/2014/08/07/rice-u-study-stock-prices-of-companies-that-use-the-same-underwriter-tend-to-move-together/"], "price", IgnoreCase -> True]
Does this help?
file = Import[
file1 = StringReplace[file, Whitespace -> " "];
nf = StringSplit[file1, WhitespaceCharacter]; tf = Tally[nf]; tff =
SortBy[tf, -#[] &]