summaryrefslogtreecommitdiff
path: root/extractor/rule.cc
blob: 945abaeea7fb8ea52c36329b1abdcf6c534a9072 (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