summaryrefslogtreecommitdiff
path: root/extractor/features/count_source_target.h
blob: 8747fa6067cd78e39c72f4bc73b76217c0cc237a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _COUNT_SOURCE_TARGET_H_
#define _COUNT_SOURCE_TARGET_H_

#include "feature.h"

namespace extractor {
namespace features {

/**
 * Feature for the number of times a word pair was found in the bitext.
 */
class CountSourceTarget : public Feature {
 public:
  double Score(const FeatureContext& context) const;

  string GetName() const;
};

} // namespace features
} // namespace extractor

#endif