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

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) {}