Giter Club home page Giter Club logo

capstone's Introduction

Introduction

In the context of smart prediction technology, the basic purpose of this 'Capstone' course project is to create a product to highlight the prediction algorithm built and to provide an interface that can be accessed by others.

The Shiny App allows the user to explore Natural Language Processing and to test an implementation using a 5-gram model, with smoothing by discounting for low frequency words, based on the Katz backoff strategy.

In particular, the model takes the last few words of the phrase and uses statistics against a large Corpus, provided by SwiftKey, to find the most probable next word.

The next word predictor app

Launch the app here

Functionalities:

  1. Enter a phrase (multiple words) in the input text box
  2. Manipulate the slider to select the number of words to be predicted
  3. Visualize the highest probable next word (in red) for your phrase and the remaining predicted words in the table below

Data

Download the Corpus here

The file was specifically processed for the needs of this project. The focus was to provide with:

  • Data cleaning/preprocessing
  • N-gram tokenization
  • Training and building of the prediction algorithm

Resources

Coursera - JHU - Data Science

Coursera - Stanford - Natural Language Processing

  • Martin, J. H., & Jurafsky, D. (2009). Speech and language processing. Pearson International Edition. ISBN 978-0135041963

  • Katz, S. (1987). Estimation of probabilities from sparse data for the language model component of a speech recognizer. Acoustics, Speech and Signal Processing, IEEE Transactions on, 35(3), 400-401.

Shiny app deployment: https://www.shinyapps.io/

capstone's People

Contributors

sabank avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.