wordCount · posted by vaibhav bhawsar Jan 25, 03:46

word count on The Communist Manifesto word count on The Hacker Manifesto

Counting the number of times a word occurs in a given text. This method does not use regular expression and instead works by comparing a given word at a time with the remaining text(string). There is also a blacklist of words that are not calculated for. It also allows one to limit the results for eg: show only words that occur more than x number of times in the text.

CountWords.java

Commenting is closed for this article.