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/apply_fsa_models.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 decoder/apply_fsa_models.h (limited to 'decoder/apply_fsa_models.h') diff --git a/decoder/apply_fsa_models.h b/decoder/apply_fsa_models.h new file mode 100755 index 00000000..d22397e3 --- /dev/null +++ b/decoder/apply_fsa_models.h @@ -0,0 +1,15 @@ +#ifndef _APPLY_FSA_MODELS_H_ +#define _APPLY_FSA_MODELS_H_ + +//#include "ff_fsa_dynamic.h" + +struct FsaFeatureFunction; +struct Hypergraph; +struct SentenceMetadata; + +void ApplyFsaModels(const Hypergraph& in, + const SentenceMetadata& smeta, + const FsaFeatureFunction& fsa, + Hypergraph* out); + +#endif -- cgit v1.2.3