Autocompletes any given word/sentence input given a training set consisting of the strength of association of words with each other.