PRText

Carlos Restrepo
23-09-2020

About

This new PRText app is a simple way to see how a n-gram algorithm works. The design follows the KISS principle

  • Keep
  • It
  • Simple
  • Stupid

so only an input text on the side is required an the algorith on the right is just waiting for you to start typing.

Algorithm

In order for the app to work an n-gram of the database consisting of blog, news and twitter data was used. After, for memory reasons the n-grams are stored as RData files and loaded directrly to a Back off algorith, which means if a quadgram is not found back of to a trigram and so forth until a base case decided upon the most used word in the dataset “said”.

Instructions

EASY PEASY, PRTest id designed to be used by anyone and i really mean anyone.

  • first type on the left input.
  • wait for the algorithm to load
  • check if the prediction is correct.

SIMPLE, ELEGANT

Thanks

I would like to thank the teachers at the Johns Hopkins University for the knowledge gained during the course. and to you my fellow student for taking the time to share and grade this assignment.

PRText

go and try it!!!!!
Good bye!!!!!