Feb-27-2017, 11:28 AM
(Feb-27-2017, 11:01 AM)zivoni Wrote: But if you want only count of most common word, just use terms[1] with your original terms.
As you say, with his original code, he only has the first item of the most_common list. But that's in the form (word, count), so he wants terms[0] of his original terms to get the most common word.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures