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.

Package details

AuthorValerio Gherardi [aut, cre] (<https://orcid.org/0000-0002-8215-3013>)
MaintainerValerio Gherardi <vgherard840@gmail.com>
LicenseGPL (>= 3)
Version0.2.0
URL https://vgherard.github.io/kgrams/ https://github.com/vgherard/kgrams
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("kgrams")

Try the kgrams package in your browser

Any scripts or data that you put into this service are public.

kgrams documentation built on Oct. 6, 2023, 5:06 p.m.