Information on available k-gram continuation probability smoothers.
kgrams
"ml"
: Maximum Likelihood estimate
markov1913essaikgrams.
"add_k"
: Add-k smoothing
dale1995philosophical,lidstone1920note,johnson1932probability,jeffreys1998theorykgrams.
"abs"
: Absolute discounting ney1991smoothingkgrams.
"wb"
: Witten-Bell smoothing bell1990text,witten1991zerokgrams
"kn"
: Interpolated Kneser-Ney.
Kneser1995ImprovedBF,chen1999empiricalkgrams.
"mkn"
: Interpolated modified Kneser-Ney.
chen1999empiricalkgrams.
"sbo"
: Stupid Backoff brants-etal-2007-largekgrams.
smoothers()info(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.
# NOT RUN {
# List available smoothers
smoothers()
# Get information on smoother "kn", i.e. Interpolated Kneser-Ney
info("kn")
# }
Run the code above in your browser using DataLab