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.2
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-11-16
Author: Valerio Gherardi ORCID iD [aut, cre]
Maintainer: Valerio Gherardi <vgherard840 at>
License: GPL (≥ 3)
NeedsCompilation: yes
SystemRequirements: C++11
Materials: README NEWS
CRAN checks: kgrams results


Reference manual: kgrams.pdf
Vignettes: kgrams


Package source: kgrams_0.1.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): kgrams_0.1.2.tgz, r-oldrel (arm64): kgrams_0.1.2.tgz, r-release (x86_64): kgrams_0.1.2.tgz, r-oldrel (x86_64): kgrams_0.1.2.tgz
Old sources: kgrams archive


Please use the canonical form to link to this page.