Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Bertoldi <bertoldi@fbk.eu>2014-12-15 19:42:41 +0300
committerNicola Bertoldi <bertoldi@fbk.eu>2014-12-15 19:42:41 +0300
commit4e77665d30224653e4fa1a818e8100a6188fac2d (patch)
tree2412ccb40527226e03ff9503826a2c99f5189406 /moses/StaticData.h
parente4eb201c52be74fee74399a6f35fcbe8eb85d834 (diff)
parentdfd6cd2dd7fb2451b899c0ee84172d2e4e291f77 (diff)
better handling of cache-based models with inconsistent parametersdynamic-models
Diffstat (limited to 'moses/StaticData.h')
-rw-r--r--moses/StaticData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/StaticData.h b/moses/StaticData.h
index 8d399bfb2..8c396e1c4 100644
--- a/moses/StaticData.h
+++ b/moses/StaticData.h
@@ -436,7 +436,7 @@ public:
return m_searchAlgorithm;
}
bool IsChart() const {
- return m_searchAlgorithm == ChartDecoding || m_searchAlgorithm == ChartIncremental;
+ return m_searchAlgorithm == CYKPlus || m_searchAlgorithm == ChartIncremental;
}
const ScoreComponentCollection& GetAllWeights() const {