summaryrefslogtreecommitdiff
path: root/extractor/rule_extractor_helper.h
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-05-23 20:42:26 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-05-23 20:42:26 +0100
commit4ab38fecf0f49c5132a5d5ea748d03e0acfa36c2 (patch)
tree8e250d99f4a381eae865a15b6eb43b0f77b68479 /extractor/rule_extractor_helper.h
parent35d2c095ba6a912272f2fcc8322ece4213ada82b (diff)
parent1d96c9c9c521edfca1d10e4d8c5064f79fda3ec5 (diff)
Merge branch 'master' of github.com:pauldb89/cdec
Diffstat (limited to 'extractor/rule_extractor_helper.h')
-rw-r--r--extractor/rule_extractor_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/extractor/rule_extractor_helper.h b/extractor/rule_extractor_helper.h
index d4ae45d4..716d7df5 100644
--- a/extractor/rule_extractor_helper.h
+++ b/extractor/rule_extractor_helper.h
@@ -59,7 +59,7 @@ class RuleExtractorHelper {
// Find the gap spans for each nonterminal in the source phrase.
virtual bool GetGaps(
- vector<pair<int, int> >& source_gaps, vector<pair<int, int> >& target_gaps,
+ vector<pair<int, int>>& source_gaps, vector<pair<int, int>>& target_gaps,
const vector<int>& matching, const vector<int>& chunklen,
const vector<int>& source_low, const vector<int>& source_high,
const vector<int>& target_low, const vector<int>& target_high,
@@ -68,7 +68,7 @@ class RuleExtractorHelper {
int& num_symbols, bool& met_constraints) const;
// Get the order of the nonterminals in the target phrase.
- virtual vector<int> GetGapOrder(const vector<pair<int, int> >& gaps) const;
+ virtual vector<int> GetGapOrder(const vector<pair<int, int>>& gaps) const;
// Map each terminal symbol with its position in the source phrase.
virtual unordered_map<int, int> GetSourceIndexes(