From 1fc4b6a45c18b52ab2c27eb9a825ad14f31d803b 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/fast_lexical_cast.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 decoder/fast_lexical_cast.hpp (limited to 'decoder/fast_lexical_cast.hpp') 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 + +using boost::lexical_cast; + +#endif -- cgit v1.2.3