summaryrefslogtreecommitdiff
path: root/decoder/lextrans.h
blob: a23a4e0de84ee04ea4bdb0823ee3728495cf064f (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