blob: 2d51e7c04ee237689b6df24018122fea659f2c8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef _LEXTrans_H_
#define _LEXTrans_H_
#include "translator.h"
#include "lattice.h"
struct LexicalTransImpl;
struct LexicalTrans : public Translator {
LexicalTrans(const boost::program_options::variables_map& conf);
bool TranslateImpl(const std::string& input,
SentenceMetadata* smeta,
const std::vector<double>& weights,
Hypergraph* forest);
private:
boost::shared_ptr<LexicalTransImpl> pimpl_;
};
#endif
|