Classical k-gram Language Models

Tools for training and evaluating k-gram language models in R, supporting several probability smoothing techniques, perplexity computations, random text generation and more.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.0 by Valerio Gherardi, 21 days ago

Browse source code at

Authors: Valerio Gherardi [aut, cre]

Documentation:   PDF Manual  

GPL (>= 3) license

Imports Rcpp, rlang, methods, utils, RcppProgress, Rdpack

Suggests testthat, covr, knitr, rmarkdown

Linking to Rcpp, RcppProgress

System requirements: C++11

See at CRAN