summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-02-22 18:09:41 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2011-02-22 18:09:41 -0500
commitbebc061c3ac9799a0c91abc1a1fff1f57f5a3522 (patch)
tree9eeca2c085723acc67cd2712c60b3c8622e0a561
parent328873498127f44ff257db9e9a9551c6561587c0 (diff)
typo
-rw-r--r--decoder/ff_spans.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ff_spans.cc b/decoder/ff_spans.cc
index 511ab728..b473c8a4 100644
--- a/decoder/ff_spans.cc
+++ b/decoder/ff_spans.cc
@@ -20,7 +20,7 @@ SpanFeatures::SpanFeatures(const string& param) :
string valfile;
vector<string> toks;
Tokenize(param, ' ', &toks);
- if (toks.size() == 2) { mapfile = param[0]; valfile = param[1]; }
+ if (toks.size() == 2) { mapfile = toks[0]; valfile = toks[1]; }
if (mapfile.size() > 0) {
int lc = 0;
if (!SILENT) { cerr << "Reading word map for SpanFeatures from " << param << endl; }