kgrams: Classical k-gram Language Models

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

Version: 0.2.1
Depends: R (≥ 4.0)
Imports: Rcpp, rlang, methods, utils, RcppProgress (≥ 0.1), Rdpack
LinkingTo: Rcpp, RcppProgress
Suggests: testthat (≥ 3.0.0), covr, knitr, rmarkdown, tibble
Published: 2024-11-13
DOI: 10.32614/CRAN.package.kgrams
Author: Valerio Gherardi ORCID iD [aut, cre]
Maintainer: Valerio Gherardi <vgherard840 at gmail.com>
BugReports: https://github.com/vgherard/kgrams/issues
License: GPL (≥ 3)
URL: https://vgherard.github.io/kgrams/, https://github.com/vgherard/kgrams
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: kgrams results

Documentation:

Reference manual: kgrams.pdf
Vignettes: kgrams (source, R code)

Downloads:

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

Reverse dependencies:

Reverse imports: idiolect

Linking:

Please use the canonical form https://CRAN.R-project.org/package=kgrams to link to this page.