blob: 6415f4f90fcc63432249d1f9f305383eb45b662c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef LEXALIGN_H_
#define LEXALIGN_H_
#include "translator.h"
#include "lattice.h"
struct LexicalAlignImpl;
struct LexicalAlign : public Translator {
LexicalAlign(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<LexicalAlignImpl> pimpl_;
};
#endif
|