Count words in a text stream
Write a class that receives text in chunks from a stream and keeps a count of how many times each word has appeared, with a method to read the count of a word (or the most common words). Handle words split across chunk boundaries and normalize case and punctuation consistently.
No answer yet. Write the first one; the best answer gets endorsed.
