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.

Package details

AuthorValerio Gherardi [aut, cre] (<>)
MaintainerValerio Gherardi <>
LicenseGPL (>= 3)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the kgrams package in your browser

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

kgrams documentation built on Nov. 16, 2021, 9:22 a.m.