blob: ee6e59a0ab45120421ec63a7fd152307bb578147 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef _SAMPLE_SOURCE_COUNT_H_
#define _SAMPLE_SOURCE_COUNT_H_
#include "feature.h"
namespace extractor {
namespace features {
/**
* Feature scoring the number of times the source phrase occurs in the sampled
* set.
*/
class SampleSourceCount : public Feature {
public:
double Score(const FeatureContext& context) const;
string GetName() const;
};
} // namespace features
} // namespace extractor
#endif
|