blob: 9441b451b072333a90f942b33ebbd4049ba08bb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "count_source_target.h"
#include <cmath>
double CountSourceTarget::Score(const FeatureContext& context) const {
return log10(1 + context.pair_count);
}
string CountSourceTarget::GetName() const {
return "CountEF";
}
|