diff options
author | graehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-02 07:57:23 +0000 |
---|---|---|
committer | graehl@gmail.com <graehl@gmail.com@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-08-02 07:57:23 +0000 |
commit | f9859ad4116733e145d7b8eb31c3cc9318ff7564 (patch) | |
tree | 92f6942fc7fd7066eb400bce6d2cbd2fee46c801 /decoder/viterbi.cc | |
parent | 6da285dfa7b0a1929dcec882d7e48a585e878d18 (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/viterbi.cc')
-rw-r--r-- | decoder/viterbi.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/viterbi.cc b/decoder/viterbi.cc index 46b6a884..b21139df 100644 --- a/decoder/viterbi.cc +++ b/decoder/viterbi.cc @@ -1,3 +1,4 @@ +#include "fast_lexical_cast.hpp" #include "viterbi.h" #include <sstream> @@ -114,7 +115,6 @@ Both relationships are commutative but are not transitive. The relationship defi */ #include <cmath> #include <stdexcept> -#include <boost/lexical_cast.hpp> inline bool close_enough(double a,double b,double epsilon) { using std::fabs; |