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