From fc3d47b81448c7537ed7951aea81ddcbd95bc18a Mon Sep 17 00:00:00 2001 From: Paul Baltescu Date: Mon, 13 May 2013 22:32:44 +0100 Subject: Replace > > with >>. --- extractor/target_phrase_extractor_test.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'extractor/target_phrase_extractor_test.cc') diff --git a/extractor/target_phrase_extractor_test.cc b/extractor/target_phrase_extractor_test.cc index 80927dee..501a473b 100644 --- a/extractor/target_phrase_extractor_test.cc +++ b/extractor/target_phrase_extractor_test.cc @@ -50,7 +50,7 @@ TEST_F(TargetPhraseExtractorTest, TestExtractTightPhrasesTrue) { .WillRepeatedly(Return(target_words[i])); } - vector > links = { + vector> links = { make_pair(0, 0), make_pair(1, 3), make_pair(2, 2), make_pair(3, 1), make_pair(4, 4) }; @@ -62,18 +62,18 @@ TEST_F(TargetPhraseExtractorTest, TestExtractTightPhrasesTrue) { extractor = make_shared( data_array, alignment, phrase_builder, helper, vocabulary, 10, true); - vector > target_gaps = {make_pair(3, 4), make_pair(1, 2)}; + vector> target_gaps = {make_pair(3, 4), make_pair(1, 2)}; vector target_low = {0, 3, 2, 1, 4}; unordered_map source_indexes = {{0, 0}, {2, 2}, {4, 4}}; - vector > results = extractor->ExtractPhrases( + vector> results = extractor->ExtractPhrases( target_gaps, target_low, 0, 5, source_indexes, 1); EXPECT_EQ(1, results.size()); vector expected_symbols = {20, -2, 22, -1, 24}; EXPECT_EQ(expected_symbols, results[0].first.Get()); vector expected_words = {"a", "c", "e"}; EXPECT_EQ(expected_words, results[0].first.GetWords()); - vector > expected_alignment = { + vector> expected_alignment = { make_pair(0, 0), make_pair(2, 2), make_pair(4, 4) }; EXPECT_EQ(expected_alignment, results[0].second); @@ -94,7 +94,7 @@ TEST_F(TargetPhraseExtractorTest, TestExtractPhrasesTightPhrasesFalse) { .WillRepeatedly(Return(target_words[i])); } - vector > links = {make_pair(1, 1)}; + vector> links = {make_pair(1, 1)}; EXPECT_CALL(*alignment, GetLinks(0)).WillRepeatedly(Return(links)); vector gap_order = {0}; @@ -103,11 +103,11 @@ TEST_F(TargetPhraseExtractorTest, TestExtractPhrasesTightPhrasesFalse) { extractor = make_shared( data_array, alignment, phrase_builder, helper, vocabulary, 10, false); - vector > target_gaps = {make_pair(2, 4)}; + vector> target_gaps = {make_pair(2, 4)}; vector target_low = {-1, 1, -1, -1, -1, -1}; unordered_map source_indexes = {{1, 1}}; - vector > results = extractor->ExtractPhrases( + vector> results = extractor->ExtractPhrases( target_gaps, target_low, 1, 5, source_indexes, 0); EXPECT_EQ(10, results.size()); -- cgit v1.2.3