From 1d96c9c9c521edfca1d10e4d8c5064f79fda3ec5 Mon Sep 17 00:00:00 2001 From: Paul Baltescu Date: Mon, 13 May 2013 22:32:44 +0100 Subject: Replace > > with >>. --- extractor/rule_extractor.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'extractor/rule_extractor.cc') diff --git a/extractor/rule_extractor.cc b/extractor/rule_extractor.cc index fa7386a4..d9181175 100644 --- a/extractor/rule_extractor.cc +++ b/extractor/rule_extractor.cc @@ -81,7 +81,7 @@ vector RuleExtractor::ExtractRules(const Phrase& phrase, // Calculate statistics for the (sampled) occurrences of the source phrase. map source_phrase_counter; - map > > alignments_counter; + map>> alignments_counter; for (auto i = matchings.begin(); i != matchings.end(); i += num_subpatterns) { vector matching(i, i + num_subpatterns); vector extracts = ExtractAlignments(phrase, matching); @@ -165,7 +165,7 @@ vector RuleExtractor::ExtractAlignments( // Get spans for nonterminal gaps. bool met_constraints = true; int num_symbols = phrase.GetNumSymbols(); - vector > source_gaps, target_gaps; + vector> source_gaps, target_gaps; if (!helper->GetGaps(source_gaps, target_gaps, matching, chunklen, source_low, source_high, target_low, target_high, source_phrase_low, source_phrase_high, source_back_low, source_back_high, @@ -210,7 +210,7 @@ vector RuleExtractor::ExtractAlignments( void RuleExtractor::AddExtracts( vector& extracts, const Phrase& source_phrase, const unordered_map& source_indexes, - const vector >& target_gaps, const vector& target_low, + const vector>& target_gaps, const vector& target_low, int target_phrase_low, int target_phrase_high, int sentence_id) const { auto target_phrases = target_phrase_extractor->ExtractPhrases( target_gaps, target_low, target_phrase_low, target_phrase_high, @@ -232,7 +232,7 @@ void RuleExtractor::AddNonterminalExtremities( const vector& chunklen, const Phrase& source_phrase, int source_back_low, int source_back_high, const vector& source_low, const vector& source_high, const vector& target_low, - const vector& target_high, vector > target_gaps, + const vector& target_high, vector> target_gaps, int sentence_id, int source_sent_start, int starts_with_x, int ends_with_x, int extend_left, int extend_right) const { int source_x_low = source_back_low, source_x_high = source_back_high; -- cgit v1.2.3