WebPredict

WebPredict / WordFrequencies / 0.1.0

README.md
Computes word frequencies for a given input text. Takes text, max # of results, whether or not to ignore capitalization, and whether or not to sort from highest frequency to lowest or vice versa in resulting list of word frequencies. Strips off punctuation for all words in the text. For example: ["This is the test of the service.", 3, true, true] returns [{"word":"the","frequency":2},{"word":"test","frequency":1},{"word":"service","frequency":1}].