summaryrefslogtreecommitdiff
path: root/decoder/fast_lexical_cast.hpp
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
commit1fc4b6a45c18b52ab2c27eb9a825ad14f31d803b (patch)
tree33eddab63ea60d0b252dc842ebd0c2a8408af40d /decoder/fast_lexical_cast.hpp
parent526efd6515eb9efdcc1fe756c3cec4981ca10186 (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/fast_lexical_cast.hpp')
-rwxr-xr-xdecoder/fast_lexical_cast.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/decoder/fast_lexical_cast.hpp b/decoder/fast_lexical_cast.hpp
new file mode 100755
index 00000000..c1b15042
--- /dev/null
+++ b/decoder/fast_lexical_cast.hpp
@@ -0,0 +1,10 @@
+#ifndef FAST_LEXICAL_CAST_HPP
+#define FAST_LEXICAL_CAST_HPP
+
+#define BOOST_LEXICAL_CAST_ASSUME_C_LOCALE
+
+#include <boost/lexical_cast.hpp>
+
+using boost::lexical_cast;
+
+#endif