Most frequent words
<p>What's the most efficient way in Java to get the 50 most frequent words with their frequency out of a text?</p>

<p>I want to search around ~1,000,000 texts with each have around ~10,000 words and hope that it works in a reasonable time frame.</p>
