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
commit27e9c0f30667697dc15263610b97afcc14e23c07 (patch)
tree40a1d24f02354fae5e2dc33dbaeb60392b7e4d04
parent949ad1a3938d98d4366fbf3e487acc8fc4134ce1 (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; }