This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* This function takes a list of words and a specified text and returns the frequency of each word. | |
* The program processes in timed chunks as to not lock the browser up | |
* | |
* @param {Array} words This is the list of words to match against | |
* @param {String} text This is the text to match | |
* @param {Function} This is the callback function | |
* | |
* TODO: |