diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2011-02-22 18:09:41 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2011-02-22 18:09:41 -0500 |
commit | 27e9c0f30667697dc15263610b97afcc14e23c07 (patch) | |
tree | 40a1d24f02354fae5e2dc33dbaeb60392b7e4d04 | |
parent | 949ad1a3938d98d4366fbf3e487acc8fc4134ce1 (diff) |
typo
-rw-r--r-- | decoder/ff_spans.cc | 2 |
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; } |