parent
f0e954183f
commit
67e3eefb95
|
@ -6,11 +6,9 @@ from . import swigwrapper
|
||||||
class Scorer(swigwrapper.Scorer):
|
class Scorer(swigwrapper.Scorer):
|
||||||
"""Wrapper for Scorer.
|
"""Wrapper for Scorer.
|
||||||
|
|
||||||
:param alpha: Parameter associated with language model. Don't use
|
:param alpha: Language model weight.
|
||||||
language model when alpha = 0.
|
|
||||||
:type alpha: float
|
:type alpha: float
|
||||||
:param beta: Parameter associated with word count. Don't use word
|
:param beta: Word insertion bonus.
|
||||||
count when beta = 0.
|
|
||||||
:type beta: float
|
:type beta: float
|
||||||
:model_path: Path to load language model.
|
:model_path: Path to load language model.
|
||||||
:trie_path: Path to trie file.
|
:trie_path: Path to trie file.
|
||||||
|
|
Loading…
Reference in New Issue