summaryrefslogtreecommitdiff
path: root/extractor/rule_extractor_helper.h
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-06-20 01:28:43 +0200
committerPatrick Simianer <p@simianer.de>2013-06-20 01:28:43 +0200
commit64fc39f97b62d9575eeb8da8067b1b09b71c0f84 (patch)
tree7475ae5578f40d3deabeef4532e3a81e2c662ad5 /extractor/rule_extractor_helper.h
parent3b9f1972dd2c0874c5845b68f9bd7f955b6d67eb (diff)
parent0dc7755f7fb1ef15db5a60c70866aa61b6367898 (diff)
Merge remote-tracking branch 'upstream/master'
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(