2024-02-08

OVERVIEW

This is a slide deck to present web-application and corresponding prediction algorithm developed as part of the final Capstone Project for Data Science Specialization.

This presentation will briefly but comprehensively pitch an application for predicting the next word.

The application is the capstone project for the Coursera Data Science specialization from Johns Hopkins University and in collabration with SwiftKey.

OBJECTIVE

The main goal of this capstone project is to build a shiny application that is able to predict the next word.

It has few sub tasks #1.Data Cleaning #2.Exploratory Analysis #3.The creation of a predictive model.

The data file is from (http://www.corpora.heliohost.org/).

All NLP was done with the usage of a variety of well-known R packages.

Please find a full summary report linked here: (https://rpubs.com/sham_bhavi/swift)

PREDICTIVE ALGORITHM APPROACH

After cleaning of the data removing whitespace,special charector,repeative words. etc.

This data sample was then tokenized called n-gram

Those aggregated bi-,tri- and quadgram term frequency matrices have been transferred into frequency dictionaries.

The resulting data.frames are used to predict the next word in connection with the text input by a user of the described application and the frequencies of the underlying n-grams table.

USAGE of APP

  1. The use must enter some text into the input box
  2. Based on the designed predictive algorithm, the most frequent possible next word will be displayed
  3. The total number of N-grams used will also be displayed.

ADDITIONAL INFORMATION