RHays Presentation Word Prediction Capstone

R Hays
05082021

Assignment Details

1) Create a data product to demonstrate my prediction algorithm that accepts an n-gram and predicts the next word.

2) Create a slide deck promoting my product and publish it to RPubs.

3) Create a github repository to store all code and data files

Shiny Application Summary

My Shiny predictive app is based upon a subset of the SwiftKey data linked below. I used the SBO package (https://vgherard.github.io/sbo/articles/sbo.html).

The user may enter one or more words and the APP will return the top three prediction suggestions.

Data Sources and Server Configuration

Shiny server function:

shinyserver <- function(input, output) {

        output$result_output <-renderText({
                predict(corpus_train,input$text)
        })
}