Implementation of a Predictive Input Based on Popularity of words in Corpus