knitr::opts_chunk$set(echo = FALSE)
We developed an application that accepts user text input, and returns suggestions for the next word. This can be added to the text by clicking on the suggestion button.
Suggestions are based upon probability models using large text training data sets
The algorithm can accept any text input, and will fall back on more naive suggestions in the case of input text that was unseen in the training data
Model data, functions, and Shiny application code are all available in a repository
The Shiny application is hosted online via ShinyApps.io, and embedded in this deck
To use the app, simply type in the text box. Suggestions will appear as buttons below, which can be clicked to insert them into your text.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.