This content is over 9 years old. It may be obsolete and may not reflect the current opinion of the author.
Under the hood, functions are devided into a library and two jQuery plug-ins:
- jQuery.getContent that fetch text remotely or locally using FileReader API
- WordFreq that run the text against Porter Stemming Algorithm (English) or N-gram analysis (Chinese) in Web Workers
- Finally, jQuery.wordCloud draws beautiful word cloud on <canvas>
For Mobile Safari and IE9 that doesn’t support Web Workers, I wrote Simulated Worker that put the worker script into an iframe scope (instead worker scope).
You are welcome to play around, grab the source code and run the testcases to see their capabilities.