summaryrefslogtreecommitdiff
path: root/decoder/lexalign.h
blob: 30c89c573e6e9bdd0e31c8753680389873ef977e (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 Translate(const std::string& input,
                 SentenceMetadata* smeta,
                 const std::vector<double>& weights,
                 Hypergraph* forest);
 private:
  boost::shared_ptr<LexicalAlignImpl> pimpl_;
};

#endif