summaryrefslogtreecommitdiff
path: root/decoder/tagger.h
blob: 9ac820d94ae55cfadeb0c870b27a4f284061529d (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 TranslateImpl(const std::string& input,
                 SentenceMetadata* smeta,
                 const std::vector<double>& weights,
                 Hypergraph* forest);
 private:
  boost::shared_ptr<TaggerImpl> pimpl_;
};

#endif