summaryrefslogtreecommitdiff
path: root/extractor/target_phrase_extractor.h
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-05-13 22:32:44 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-05-13 22:32:44 +0100
commit1d96c9c9c521edfca1d10e4d8c5064f79fda3ec5 (patch)
tree4e4375cbf4e7856212bbaf16f75156c63787d14e /extractor/target_phrase_extractor.h
parent9b656ed347ee098574b98a59ce11ccecb81e52f6 (diff)
Replace > > with >>.
Diffstat (limited to 'extractor/target_phrase_extractor.h')
-rw-r--r--extractor/target_phrase_extractor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/extractor/target_phrase_extractor.h b/extractor/target_phrase_extractor.h
index 289bae2f..644493cd 100644
--- a/extractor/target_phrase_extractor.h
+++ b/extractor/target_phrase_extractor.h
@@ -9,7 +9,7 @@ using namespace std;
namespace extractor {
-typedef vector<pair<int, int> > PhraseAlignment;
+typedef vector<pair<int, int>> PhraseAlignment;
class Alignment;
class DataArray;
@@ -32,8 +32,8 @@ class TargetPhraseExtractor {
// Finds all the target phrases that can extracted from a span in the
// target sentence (matching the given set of target phrase gaps).
- virtual vector<pair<Phrase, PhraseAlignment> > ExtractPhrases(
- const vector<pair<int, int> >& target_gaps, const vector<int>& target_low,
+ virtual vector<pair<Phrase, PhraseAlignment>> ExtractPhrases(
+ const vector<pair<int, int>>& target_gaps, const vector<int>& target_low,
int target_phrase_low, int target_phrase_high,
const unordered_map<int, int>& source_indexes, int sentence_id) const;
@@ -44,8 +44,8 @@ class TargetPhraseExtractor {
// Computes the cartesian product over the sets of possible target phrase
// chunks.
void GeneratePhrases(
- vector<pair<Phrase, PhraseAlignment> >& target_phrases,
- const vector<pair<int, int> >& ranges, int index,
+ vector<pair<Phrase, PhraseAlignment>>& target_phrases,
+ const vector<pair<int, int>>& ranges, int index,
vector<int>& subpatterns, const vector<int>& target_gap_order,
int target_phrase_low, int target_phrase_high,
const unordered_map<int, int>& source_indexes, int sentence_id) const;