12/13/2019

Word Prediction Shiny App

Project Goals: Create a shiny app that predicts the next word a user might want given the first few words.

The data set used can be found: Data Download

Data sources came from blogs, twitter, and news files.

Tasks

  1. Data Loading and Clean Up
    -create corpus
  2. Data Exploration
    -plot word clouds
  3. Prediction Algorithm
    -n-grams and token and quanteda
  4. Algorithm Optimization
    -reduce size of DFM from GBs to kbs
  5. Create Shiny App
  6. Create Slide Show

How to Use the App

The App accepts a series of words and gives up to the top 5 predictions. If there are no results given the longest string, the algorithm reduces the number of words in the string until a result is given.

Links