From 26a4aa8d18a1d285038ecdda38deff400b107cd3 Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Tue, 30 Apr 2013 17:27:35 +0100 Subject: enable sparse feature in phrase table --- moses/ScoreComponentCollection.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'moses/ScoreComponentCollection.cpp') 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; -- cgit v1.2.3