Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f49ebcba99
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.529 kb
#ifndef _PHRASEBASED_TRANSLATOR_H_
#define _PHRASEBASED_TRANSLATOR_H_
#include "translator.h"
class PhraseBasedTranslatorImpl;
class PhraseBasedTranslator : public Translator {
public:
PhraseBasedTranslator(const boost::program_options::variables_map& conf);
bool TranslateImpl(const std::string& input,
SentenceMetadata* smeta,
const std::vector<double>& weights,
Hypergraph* minus_lm_forest);
private:
boost::shared_ptr<PhraseBasedTranslatorImpl> pimpl_;
};
#endif
Jump to Line
Something went wrong with that request. Please try again.