summaryrefslogtreecommitdiff
path: root/extractor/rule.cc
blob: b6c7d78387a1895df4e703faf3bcf07da4cfc163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "rule.h"

namespace extractor {

Rule::Rule(const Phrase& source_phrase,
           const Phrase& target_phrase,
           const vector<double>& scores,
           const vector<pair<int, int> >& alignment) :
  source_phrase(source_phrase),
  target_phrase(target_phrase),
  scores(scores),
  alignment(alignment) {}

} // namespace extractor