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.


News

Reference manual

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

install.packages("kgrams")

0.1.0 by Valerio Gherardi, 7 months ago


Browse source code at https://github.com/cran/kgrams


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