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:
authorHieu Hoang <hieu@hoang.co.uk>2013-05-13 18:53:56 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-05-13 18:53:56 +0400
commitf401e4f08e30a660b2b7568d2137f4563b0e708d (patch)
tree383d8439d2bf591cc67a988f56594c4e962528cf /moses/Hypothesis.cpp
parent499487fb981fbd8fe5127e8c5362e1cf03cc2b0c (diff)
rename entries in enum StatelessFeatureType
Diffstat (limited to 'moses/Hypothesis.cpp')
-rw-r--r--moses/Hypothesis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Hypothesis.cpp b/moses/Hypothesis.cpp
index f0c666f93..04dc27155 100644
--- a/moses/Hypothesis.cpp
+++ b/moses/Hypothesis.cpp
@@ -286,7 +286,7 @@ void Hypothesis::CalcScore(const SquareMatrix &futureScore)
StatelessFeatureFunction::GetStatelessFeatureFunctions();
for (unsigned i = 0; i < sfs.size(); ++i) {
const StatelessFeatureFunction &ff = *sfs[i];
- if (ff.GetStatelessFeatureType() == NotCacheable) {
+ if (ff.GetStatelessFeatureType() == RequiresSegmentation) {
EvaluateWith(ff);
}
}