diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-08-07 00:52:34 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-08-07 00:52:34 +0300 |
commit | 6c1d9e2431a1dbc270ea5ab401f47c2c32621103 (patch) | |
tree | fcab703afdd8205b15f3de2a19d59cabc5a7ca6a /moses/Hypothesis.cpp | |
parent | 524109e2cabe5bd3ac693d3187e439885484a8c7 (diff) |
More reorganisation of options.
Diffstat (limited to 'moses/Hypothesis.cpp')
-rw-r--r-- | moses/Hypothesis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/Hypothesis.cpp b/moses/Hypothesis.cpp index bc9ff0eb0..5a7833c9f 100644 --- a/moses/Hypothesis.cpp +++ b/moses/Hypothesis.cpp @@ -363,13 +363,13 @@ CleanupArcList() */ const StaticData &staticData = StaticData::Instance(); size_t nBestSize = staticData.options().nbest.nbest_size; - bool distinctNBest = (staticData.options().nbest.only_distinct || + bool distinctNBest = (m_manager.options().nbest.only_distinct || staticData.GetLatticeSamplesSize() || - staticData.UseMBR() || + m_manager.options().mbr.enabled || staticData.GetOutputSearchGraph() || staticData.GetOutputSearchGraphSLF() || staticData.GetOutputSearchGraphHypergraph() || - staticData.UseLatticeMBR()); + m_manager.options().lmbr.enabled); if (!distinctNBest && m_arcList->size() > nBestSize * 5) { // prune arc list only if there too many arcs |