smoothers: k-gram Probability Smoothers

Description Usage Arguments Value Author(s) References Examples

View source: R/smoothers.R

Description

Information on available k-gram continuation probability smoothers.

List of smoothers currently supported by kgrams

Usage

1
2
3
smoothers()

info(smoother)

Arguments

smoother

a string. Code name of probability smoother.

Value

smoothers() returns a character vector, the list of code names of probability smoothers available in kgrams. info(smoother) returns NULL (invisibly) and prints some information on the selected smoothing technique.

Author(s)

Valerio Gherardi

References

\insertAllCited

Examples

1
2
3
4
5
# List available smoothers
smoothers()

# Get information on smoother "kn", i.e. Interpolated Kneser-Ney
info("kn")

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