diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-04-30 20:27:35 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-04-30 20:27:35 +0400 |
commit | 26a4aa8d18a1d285038ecdda38deff400b107cd3 (patch) | |
tree | b69d0d0c774181fc418b0f98a0fb378297573e92 /moses/ScoreComponentCollection.cpp | |
parent | 75669a82c45bc780f8f57e3328b0cc3f1d1fe07e (diff) |
enable sparse feature in phrase table
Diffstat (limited to 'moses/ScoreComponentCollection.cpp')
-rw-r--r-- | moses/ScoreComponentCollection.cpp | 1 |
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; |