From 851e389dffdd6996ea32d70defb8906de80b9edc Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Mon, 14 Dec 2009 20:35:11 -0500 Subject: few small fixes of alignment tools, add new orthographic similarity feature for word aligner, final naming of directories, libraries in cdec --- decoder/lexcrf.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 decoder/lexcrf.h (limited to 'decoder/lexcrf.h') diff --git a/decoder/lexcrf.h b/decoder/lexcrf.h new file mode 100644 index 00000000..99362c81 --- /dev/null +++ b/decoder/lexcrf.h @@ -0,0 +1,18 @@ +#ifndef _LEXCRF_H_ +#define _LEXCRF_H_ + +#include "translator.h" +#include "lattice.h" + +struct LexicalCRFImpl; +struct LexicalCRF : public Translator { + LexicalCRF(const boost::program_options::variables_map& conf); + bool Translate(const std::string& input, + SentenceMetadata* smeta, + const std::vector& weights, + Hypergraph* forest); + private: + boost::shared_ptr pimpl_; +}; + +#endif -- cgit v1.2.3