From 3a7bca942d838f945c1cd0cbe5977e20c61ebc2d Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Thu, 18 Feb 2010 22:34:17 -0500 Subject: check in modified ones too --- decoder/lextrans.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'decoder/lextrans.cc') diff --git a/decoder/lextrans.cc b/decoder/lextrans.cc index b0e03c69..e7fa1aa1 100644 --- a/decoder/lextrans.cc +++ b/decoder/lextrans.cc @@ -1,4 +1,4 @@ -#include "lexcrf.h" +#include "lextrans.h" #include @@ -10,8 +10,8 @@ using namespace std; -struct LexicalCRFImpl { - LexicalCRFImpl(const boost::program_options::variables_map& conf) : +struct LexicalTransImpl { + LexicalTransImpl(const boost::program_options::variables_map& conf) : use_null(conf.count("lexcrf_use_null") > 0), kXCAT(TD::Convert("X")*-1), kNULL(TD::Convert("")), @@ -95,10 +95,10 @@ struct LexicalCRFImpl { GrammarPtr grammar; }; -LexicalCRF::LexicalCRF(const boost::program_options::variables_map& conf) : - pimpl_(new LexicalCRFImpl(conf)) {} +LexicalTrans::LexicalTrans(const boost::program_options::variables_map& conf) : + pimpl_(new LexicalTransImpl(conf)) {} -bool LexicalCRF::Translate(const string& input, +bool LexicalTrans::Translate(const string& input, SentenceMetadata* smeta, const vector& weights, Hypergraph* forest) { -- cgit v1.2.3