summaryrefslogtreecommitdiff
path: root/decoder/tagger.h
blob: 900019f21b2c752b676a75df50c22b1bcd2545f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _TAGGER_H_
#define _TAGGER_H_

#include "translator.h"

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

#endif