summaryrefslogtreecommitdiff
path: root/extractor/rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/rule.h')
-rw-r--r--extractor/rule.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extractor/rule.h b/extractor/rule.h
index b4d45fc1..bc95709e 100644
--- a/extractor/rule.h
+++ b/extractor/rule.h
@@ -9,6 +9,9 @@ using namespace std;
namespace extractor {
+/**
+ * Structure containing the data for a SCFG rule.
+ */
struct Rule {
Rule(const Phrase& source_phrase, const Phrase& target_phrase,
const vector<double>& scores, const vector<pair<int, int> >& alignment);