diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-11-11 20:07:45 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-11-11 20:07:45 +0300 |
commit | f247e26fed78347cfcaeb8f82b8db6b50feff3f8 (patch) | |
tree | ce29bcefd75605890ffbc90f0a0ccd1e869bcc6d /moses/Syntax | |
parent | fbfe5890d13760a6610abaf2b1797dc1db5cc9f4 (diff) |
More options refactoring (OOV Handling this time).
Diffstat (limited to 'moses/Syntax')
-rw-r--r-- | moses/Syntax/S2T/OovHandler-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Syntax/S2T/OovHandler-inl.h b/moses/Syntax/S2T/OovHandler-inl.h index 3655a0155..ab9e3b07f 100644 --- a/moses/Syntax/S2T/OovHandler-inl.h +++ b/moses/Syntax/S2T/OovHandler-inl.h @@ -95,7 +95,7 @@ TargetPhrase *OovHandler<RuleTrie>::SynthesizeTargetPhrase( template<typename RuleTrie> bool OovHandler<RuleTrie>::ShouldDrop(const Word &oov) { - if (!StaticData::Instance().GetDropUnknown()) { + if (!StaticData::Instance().options().unk.drop) { return false; } const Factor *f = oov[0]; // TODO hack. shouldn't know which factor is surface |