wordpredictor: Develop Text Prediction Models Based on N-Grams

A framework for developing n-gram models for text prediction. It provides data cleaning, data sampling, extracting tokens from text, model generation, model evaluation and word prediction. For information on how n-gram models work we referred to: "Speech and Language Processing" <https://web.stanford.edu/~jurafsky/slp3/3.pdf>. For optimizing R code and using R6 classes we referred to "Advanced R" <https://adv-r.hadley.nz/r6.html>. For writing R extensions we referred to "R Packages", <https://r-pkgs.org/index.html>.

Package details

AuthorNadir Latif [aut, cre] (<https://orcid.org/0000-0002-7543-7405>)
MaintainerNadir Latif <pakjiddat@gmail.com>
LicenseMIT + file LICENSE
Version0.0.2
URL https://github.com/pakjiddat/word-predictor https://pakjiddat.github.io/word-predictor/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("wordpredictor")

Try the wordpredictor package in your browser

Any scripts or data that you put into this service are public.

wordpredictor documentation built on June 19, 2021, 5:06 p.m.