This webpage analyze the input sentences to find how frequent each words are appearing in the sentences. It first seperates the sentences into words, and record the frequency when it goes over every words by map() loop and find out certains words was previously recorded on the object (which was initially empty). Inside the object, every word is recorded as a key while relevant values are recorded frequency of the word. In the last part of the script, it will order the list by the number of frequencies(number of appearances) - greatest to least.
- Clone this repository
- Open index.html file
There are no known bugs.
HTML, Bootstrap, jQuery
Copyright (c) 2018 Chan Lee, Connor McCarthy