summaryrefslogtreecommitdiff
path: root/decoder/tdict.h
diff options
context:
space:
mode:
authorgraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-02 07:57:23 +0000
committergraehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-02 07:57:23 +0000
commitf9859ad4116733e145d7b8eb31c3cc9318ff7564 (patch)
tree92f6942fc7fd7066eb400bce6d2cbd2fee46c801 /decoder/tdict.h
parent6da285dfa7b0a1929dcec882d7e48a585e878d18 (diff)
fake tdict names for non-ids, push viterbi cost to root in hg, store as feature. type erased fsa feature via virtual interface. made lexical_cast assume C locale for speed.
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@465 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/tdict.h')
-rw-r--r--decoder/tdict.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/tdict.h b/decoder/tdict.h
index cb030dc6..a7b3ee1c 100644
--- a/decoder/tdict.h
+++ b/decoder/tdict.h
@@ -36,7 +36,7 @@ struct TD {
static unsigned int NumWords();
static WordID Convert(const std::string& s);
static WordID Convert(char const* s);
- static const char* Convert(const WordID& w);
+ static const char* Convert(WordID w);
};
struct ToTD {