summaryrefslogtreecommitdiff
path: root/src/lexcrf.h
blob: 99362c818da3165c7bd53998c87fb0c3a4197c29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _LEXCRF_H_
#define _LEXCRF_H_

#include "translator.h"
#include "lattice.h"

struct LexicalCRFImpl;
struct LexicalCRF : public Translator {
  LexicalCRF(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<LexicalCRFImpl> pimpl_;
};

#endif