powered by
Information on available k-gram continuation probability smoothers.
kgrams
"ml": Maximum Likelihood estimate markov1913essaikgrams.
"ml"
"add_k": Add-k smoothing dale1995philosophical,lidstone1920note,johnson1932probability,jeffreys1998theorykgrams.
"add_k"
"abs": Absolute discounting ney1991smoothingkgrams.
"abs"
"wb": Witten-Bell smoothing bell1990text,witten1991zerokgrams
"wb"
"kn": Interpolated Kneser-Ney. Kneser1995ImprovedBF,chen1999empiricalkgrams.
"kn"
"mkn": Interpolated modified Kneser-Ney. chen1999empiricalkgrams.
"mkn"
"sbo": Stupid Backoff brants-etal-2007-largekgrams.
"sbo"
smoothers()info(smoother)
info(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.
smoothers()
NULL
a string. Code name of probability smoother.
Valerio Gherardi
# 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