blob: d71d0fa1287214face838b346336ba185300c9f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef _GLOBAL_FF_H_
#define _GLOBAL_FF_H_
#include "arc_factored.h"
struct GFFImpl;
struct GlobalFeatureFunctions {
GlobalFeatureFunctions();
~GlobalFeatureFunctions();
void PrepareForInput(const TaggedSentence& sentence);
void Features(const TaggedSentence& sentence,
const EdgeSubset& tree,
SparseVector<double>* feats) const;
private:
GFFImpl* pimpl;
};
#endif
|