blob: 85dc0a26799cf8574ee1b4eddb0515768b088423 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef PHRASEBASED_TRANSLATOR_H_
#define PHRASEBASED_TRANSLATOR_H_
#include "translator.h"
struct 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
|