Word Pshyic Shiny App (Final Capstone Project)

Ravi Bhushan Bhardwaj
7/07/2020

Introduction

  • Word psyhic app is based on the Natural Langauge Processing for Machine Learning using the famous R Langauge for code and Shiny app .
  • The app aim to predict the next three possible words when a user enter the first word.
  • It uses bootstrap for CSS and layout.
  • The app is made for the submission of final Data Science Capstone project offered through Coursera with the help of Johns Hopkins University.

The Shiny Application Looks like

About Shiny App

Shiny applications needed to be split into two separate files

Shiny is an R package that makes it easy to build interactive web apps straight from R. You can host standalone apps on a webpage or embed them in R Markdown documents or build dashboards. You can also extend your Shiny apps with CSS themes, htmlwidgets, and JavaScript actions.

-server.R : contains the instructions that your computer needs to build your app

-ui.R : controls the layout and appearance of your app

The Application uses following packages like:

-Shiny : Web Application Framework for R

-N-grams : N-grams are text patterns of n length that we pull out of a corpus.These n-grams will help us anticipate the best next word in a sentence

Bootstrap

To customise Shiny App UI, the best approach is to use your own HTML, CSS and Javascripts.For this the theme for this application, we have use Bootstrap CSS. Bootstrap allows us to make cool themes for our shiny app.

References

Thankyou

My shiny app for word prediction : click below link https://datalaboratory.shinyapps.io/finalprojectweek7/