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-04-30 20:27:35 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-04-30 20:27:35 +0400
commit26a4aa8d18a1d285038ecdda38deff400b107cd3 (patch)
treeb69d0d0c774181fc418b0f98a0fb378297573e92 /moses/ScoreComponentCollection.cpp
parent75669a82c45bc780f8f57e3328b0cc3f1d1fe07e (diff)
enable sparse feature in phrase table
Diffstat (limited to 'moses/ScoreComponentCollection.cpp')
-rw-r--r--moses/ScoreComponentCollection.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/moses/ScoreComponentCollection.cpp b/moses/ScoreComponentCollection.cpp
index eb70d526c..d82377c45 100644
--- a/moses/ScoreComponentCollection.cpp
+++ b/moses/ScoreComponentCollection.cpp
@@ -185,7 +185,6 @@ void ScoreComponentCollection::Save(const string& filename) const {
}
void ScoreComponentCollection::Assign(const FeatureFunction* sp, const string line) {
- CHECK(sp->GetNumScoreComponents() == FeatureFunction::unlimited);
istringstream istr(line);
while(istr) {
string namestring;