Shiny Application and Reproducible Pitch

Hossam Saad

18/ 08 / 2020

Executive summary

This presentation is part of the Capstone project, with the objective of building a text predictive application the form of a web application.

The main objectives:

Algorithm

Dataset: as provided, the blogs, the news and the twitter source dataset.

Data processing: the used dataset is provided as pre-processed, lowercased, trimmed.

N-grams: 2,3,4 grams are created to provide the prediction

Prediction: using at least 2 words from a text input as a reference for the n-gram tables. The application will return with the most frequent next word.

Usage

After the application is launched, enter some text in the input box. The application will update automatically, when you hit the ‘space’ button.

The prediction for the 3 datasets can be seen in the application output.

Additional

This application is using reactive expressions for better user experience, and auto update.

The application can be found @ ShinyApps.io.