kgrams: 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.

Version: 0.1.0
Depends: R (≥ 3.5)
Imports: Rcpp, rlang, methods, utils, RcppProgress (≥ 0.1), Rdpack
LinkingTo: Rcpp, RcppProgress
Suggests: testthat (≥ 3.0.0), covr, knitr, rmarkdown
Published: 2021-02-15
Author: Valerio Gherardi ORCID iD [aut, cre]
Maintainer: Valerio Gherardi <vgherard at>
License: GPL (≥ 3)
NeedsCompilation: yes
SystemRequirements: C++11
Materials: README
CRAN checks: kgrams results


Reference manual: kgrams.pdf
Vignettes: kgrams
Package source: kgrams_0.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: kgrams_0.1.0.tgz, r-oldrel: kgrams_0.1.0.tgz


Please use the canonical form to link to this page.