From f9859ad4116733e145d7b8eb31c3cc9318ff7564 Mon Sep 17 00:00:00 2001 From: "graehl@gmail.com" Date: Mon, 2 Aug 2010 07:57:23 +0000 Subject: 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 --- decoder/tdict.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoder/tdict.h') 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 { -- cgit v1.2.3