| smoothers | R Documentation |
Information on available k-gram continuation probability smoothers.
kgrams"ml": Maximum Likelihood estimate
\insertCitemarkov1913essaikgrams.
"add_k": Add-k smoothing
\insertCitedale1995philosophical,lidstone1920note,johnson1932probability,jeffreys1998theorykgrams.
"abs": Absolute discounting \insertCiteney1991smoothingkgrams.
"wb": Witten-Bell smoothing \insertCitebell1990text,witten1991zerokgrams
"kn": Interpolated Kneser-Ney.
\insertCiteKneser1995ImprovedBF,chen1999empiricalkgrams.
"mkn": Interpolated modified Kneser-Ney.
\insertCitechen1999empiricalkgrams.
"sbo": Stupid Backoff \insertCitebrants-etal-2007-largekgrams.
smoothers()
info(smoother)
smoother |
a string. Code name of probability smoother. |
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.
Valerio Gherardi
# List available smoothers
smoothers()
# Get information on smoother "kn", i.e. Interpolated Kneser-Ney
info("kn")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.