mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
daily automatic beautifier
This commit is contained in:
parent
77a0b54960
commit
ab2be02eef
@ -27,10 +27,10 @@ public:
|
||||
: m_kenlm(file, config) {}
|
||||
|
||||
float Score(const lm::ngram::State &in_state,
|
||||
StringPiece word,
|
||||
lm::ngram::State &out_state) const {
|
||||
StringPiece word,
|
||||
lm::ngram::State &out_state) const {
|
||||
return m_kenlm.Score(in_state, m_kenlm.GetVocabulary().Index(word),
|
||||
out_state);
|
||||
out_state);
|
||||
}
|
||||
|
||||
const lm::ngram::State &BeginSentenceState() const {
|
||||
|
Loading…
Reference in New Issue
Block a user