blob: 5911af77491efac79ccb94972eaaf5510e4a3aa3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef _CSPLIT_H_
#define _CSPLIT_H_
#include "translator.h"
#include "lattice.h"
struct CompoundSplitImpl;
struct CompoundSplit : public Translator {
CompoundSplit(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<CompoundSplitImpl> pimpl_;
};
#endif
|