Predictionary is a simple JavaScript dictionary-based word prediction library with self-learning abilities. This page shows a simple demo of Predictionary in use, where words are suggested and the dictionary is refined as there is text typed in the textarea.
For more information about Predictionary visit:
Github project
API Documentation