diff options
author | Phil Williams <philip.williams@mac.com> | 2015-02-12 16:03:26 +0300 |
---|---|---|
committer | Phil Williams <philip.williams@mac.com> | 2015-02-12 16:03:26 +0300 |
commit | 33df7fd2b4d41f7c80164c91d768a88dbc040cc3 (patch) | |
tree | 5d5e9e9ceaf2f983a14ba536b6abeec587897948 /moses/ConfusionNet.cpp | |
parent | e1d60211a4b14a3f7eb090aaa70e0293ecec2437 (diff) |
Rename StaticData::IsChart() to IsSyntax() and add new SearchAlgorithm values
Diffstat (limited to 'moses/ConfusionNet.cpp')
-rw-r--r-- | moses/ConfusionNet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ConfusionNet.cpp b/moses/ConfusionNet.cpp index ce0d5e1c0..f6d7b4168 100644 --- a/moses/ConfusionNet.cpp +++ b/moses/ConfusionNet.cpp @@ -67,7 +67,7 @@ ConfusionNet() stats.createOne(); const StaticData& staticData = StaticData::Instance(); - if (staticData.IsChart()) { + if (staticData.IsSyntax()) { m_defaultLabelSet.insert(StaticData::Instance().GetInputDefaultNonTerminal()); } UTIL_THROW_IF2(&InputFeature::Instance() == NULL, "Input feature must be specified"); |