Hello! My predictive text app is a simple R Shiny App where the user can input text and below the text will be the next predicted word. The app is reactive! So, predicted words will appear as you type them out.
Below is an example of what the server function looks like.
server <- function(input, output) { source("predict.R") dataInput <- reactive({ ngrams(input$caption) }) output$value <- dataInput }