V. Boodram
August 23rd, 2015
WordChain is a word prediction applet, written for the JHU/Coursera Data Science Capstone Project. It accepts as input one or more English words, and returns up to three sentences that are most likely, given the input text. It may be viewed at https://budotron.shinyapps.io/App-1.
WordChain was designed to require the fewest number of keystrokes from the user as possible, to increase speed and user friendliness. A slider determines the number of output sentences. Words are entered into a textbox, and the output sentences are updated dynamically. Instructions are provided when the app is launched
The number of words are determined by counting the number of blank spaces
Each prediction is made with a Naive Bayes model that was fit with a feature space of 1, 2, and 3 words, respectively. These models were tested, to determine the frequency with which the first, second and third words predicted were accurate
Clearly, the app works best with shorter inputs
This app offers two main benefits over traditional typing:
The current models can be improved by adding more words to the feature space.
J Eng, JM Eisner - Radiographics, 2004 - pubs.rsna.org, “Radiology Report Entry with Automatic Phrase Completion Driven by Language Modeling”
Thanks: