From 4cdffc8a891a3004a0102aa77ae26ceb91a1e881 Mon Sep 17 00:00:00 2001 From: phikoehn Date: Fri, 17 May 2013 08:37:29 +0100 Subject: fixes for sparse feature handling --- mert/Data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mert/Data.cpp') diff --git a/mert/Data.cpp b/mert/Data.cpp index 3f91c1376..1efa080a2 100644 --- a/mert/Data.cpp +++ b/mert/Data.cpp @@ -212,7 +212,7 @@ void Data::InitFeatureMap(const string& str) { while (!buf.empty()) { getNextPound(buf, substr); - // string ending with ":" are skipped, because they are the names of the features + // string ending with "=" are skipped, because they are the names of the features if (!EndsWith(substr, "=")) { stringstream ss; ss << tmp_name << "_" << tmp_index << " "; -- cgit v1.2.3