powered by
ZeroLM is a dummy language model class, which mimics the behaviour of a uni-gram language model but always returns 0 as score.
flashlighttext::LM -> ZeroLM
flashlighttext::LM
ZeroLM
ZeroLM$new()
ZeroLM$clone()
Inherited methods flashlighttext::LM$finish() flashlighttext::LM$score() flashlighttext::LM$start()
flashlighttext::LM$finish()
flashlighttext::LM$score()
flashlighttext::LM$start()
new()
clone()
The objects of this class are cloneable with this method.
ZeroLM$clone(deep = FALSE)
deep
Whether to make a deep clone.