• Home
  • Raw
  • Download

Lines Matching refs:SuggestSelection

585   EXPECT_EQ(classifier->SuggestSelection(  in TEST_F()
588 EXPECT_EQ(classifier->SuggestSelection( in TEST_F()
591 EXPECT_EQ(classifier->SuggestSelection("cc: 4012 8888 8888 1881", {9, 14}), in TEST_F()
631 EXPECT_EQ(classifier->SuggestSelection("it's from 04/30/1789 to 03/04/1797", in TEST_F()
634 EXPECT_EQ(classifier->SuggestSelection("it takes for ever", {9, 12}), in TEST_F()
661 classifier->SuggestSelection( in TEST_F()
690 classifier->SuggestSelection( in TEST_F()
906 TEST_F(AnnotatorTest, SuggestSelection) { in TEST_F() argument
911 EXPECT_EQ(classifier->SuggestSelection( in TEST_F()
918 classifier->SuggestSelection("350 Third Street, Cambridge", {0, 27}), in TEST_F()
922 EXPECT_EQ(classifier->SuggestSelection("a", {0, 1}), CodepointSpan(0, 1)); in TEST_F()
925 EXPECT_EQ(classifier->SuggestSelection("asdf", {0, 4}), CodepointSpan(0, 4)); in TEST_F()
928 classifier->SuggestSelection("call me at 857 225 3556 today", {11, 14}), in TEST_F()
933 classifier->SuggestSelection("call me at (857) 225 3556 today", {12, 14}), in TEST_F()
935 EXPECT_EQ(classifier->SuggestSelection("call me at (857 today", {12, 14}), in TEST_F()
937 EXPECT_EQ(classifier->SuggestSelection("call me at 3556) today", {12, 14}), in TEST_F()
939 EXPECT_EQ(classifier->SuggestSelection("call me at )857( today", {12, 14}), in TEST_F()
943 EXPECT_EQ(classifier->SuggestSelection("call me at )( today", {11, 13}), in TEST_F()
945 EXPECT_EQ(classifier->SuggestSelection("call me at ( today", {11, 12}), in TEST_F()
947 EXPECT_EQ(classifier->SuggestSelection("call me at ) today", {11, 12}), in TEST_F()
953 classifier->SuggestSelection("call me at 857 225 3556 today", {5, 24}), in TEST_F()
999 classifier->SuggestSelection("call me at 857 225 3556 today", {11, 14}), in TEST_F()
1017 classifier->SuggestSelection("call me at 857 225 3556 today", {11, 14}), in TEST_F()
1038 classifier->SuggestSelection("call me at 857 225 3556 today", {11, 14}), in TEST_F()
1042 EXPECT_EQ(classifier->SuggestSelection("350 Third Street, Cambridge", {4, 9}), in TEST_F()
1051 EXPECT_EQ(classifier->SuggestSelection("350 Third Street, Cambridge", {0, 3}), in TEST_F()
1053 EXPECT_EQ(classifier->SuggestSelection("350 Third Street, Cambridge", {4, 9}), in TEST_F()
1056 classifier->SuggestSelection("350 Third Street, Cambridge", {10, 16}), in TEST_F()
1058 EXPECT_EQ(classifier->SuggestSelection("a\nb\nc\n350 Third Street, Cambridge", in TEST_F()
1068 EXPECT_EQ(classifier->SuggestSelection("abc\n857 225 3556", {4, 7}), in TEST_F()
1070 EXPECT_EQ(classifier->SuggestSelection("857 225 3556\nabc", {0, 3}), in TEST_F()
1074 EXPECT_EQ(classifier->SuggestSelection("857 225\n3556\nabc", {0, 3}, options), in TEST_F()
1084 EXPECT_EQ(classifier->SuggestSelection( in TEST_F()
1089 EXPECT_EQ(classifier->SuggestSelection( in TEST_F()
1094 EXPECT_EQ(classifier->SuggestSelection( in TEST_F()
1099 EXPECT_EQ(classifier->SuggestSelection( in TEST_F()
1110 EXPECT_EQ(classifier->SuggestSelection("", {0, 27}), CodepointSpan(0, 27)); in TEST_F()
1111 EXPECT_EQ(classifier->SuggestSelection("", {-10, 27}), in TEST_F()
1113 EXPECT_EQ(classifier->SuggestSelection("Word 1 2 3 hello!", {0, 27}), in TEST_F()
1115 EXPECT_EQ(classifier->SuggestSelection("Word 1 2 3 hello!", {-30, 300}), in TEST_F()
1117 EXPECT_EQ(classifier->SuggestSelection("Word 1 2 3 hello!", {-10, -1}), in TEST_F()
1119 EXPECT_EQ(classifier->SuggestSelection("Word 1 2 3 hello!", {100, 17}), in TEST_F()
1123 EXPECT_EQ(classifier->SuggestSelection("\xf0\x9f\x98\x8b\x8b", {-1, -1}), in TEST_F()
1133 classifier->SuggestSelection("call me at 857 225 3556 today", {14, 15}), in TEST_F()
1136 classifier->SuggestSelection("call me at 857 225 3556 today", {10, 11}), in TEST_F()
1139 classifier->SuggestSelection("call me at 857 225 3556 today", {23, 24}), in TEST_F()
1142 classifier->SuggestSelection("call me at 857 225 3556, today", {23, 24}), in TEST_F()
1144 EXPECT_EQ(classifier->SuggestSelection("call me at 857 225 3556, today", in TEST_F()
1148 classifier->SuggestSelection("call me at 857-225 3556, today", {14, 17}), in TEST_F()
1151 classifier->SuggestSelection( in TEST_F()
1154 EXPECT_EQ(classifier->SuggestSelection("call me today", {4, 5}), in TEST_F()
1156 EXPECT_EQ(classifier->SuggestSelection("call me today", {7, 8}), in TEST_F()
1161 classifier->SuggestSelection( in TEST_F()
1166 EXPECT_EQ(classifier->SuggestSelection(" ", {0, 1}), in TEST_F()
1168 EXPECT_EQ(classifier->SuggestSelection(" ", {0, 3}), in TEST_F()
1170 EXPECT_EQ(classifier->SuggestSelection(" ", {2, 3}), in TEST_F()
1172 EXPECT_EQ(classifier->SuggestSelection(" ", {5, 6}), in TEST_F()
1822 EXPECT_EQ(classifier->SuggestSelection("january 1, 2017", {0, 7}), in TEST_F()
1882 EXPECT_THAT(classifier->SuggestSelection("Jessica Fletcher", {0, 7}), in TEST_F()
2161 EXPECT_EQ(classifier->SuggestSelection(input_100k, {50000, 50001}, in VerifyLongInput()
2202 classifier->SuggestSelection(input_100k, {50000, 50001}); in TEST_F()
2337 EXPECT_EQ(classifier->SuggestSelection("(555) 225-3556", {6, 9}), in TEST_F()
2412 EXPECT_EQ(classifier->SuggestSelection("(555) 225-3556", {6, 9}, options), in TEST_F()
2428 EXPECT_EQ(classifier->SuggestSelection("(555) 225-3556", {6, 9}, options), in TEST_F()
2447 EXPECT_EQ(classifier->SuggestSelection("350 Third Street, Cambridge", {4, 9}), in TEST_F()
2537 EXPECT_EQ(classifier->SuggestSelection("350 Third Street, Cambridge", {4, 9}, in TEST_F()
2556 EXPECT_EQ(classifier->SuggestSelection("350 Third Street, Cambridge", {4, 9}, in TEST_F()
3150 classifier->SuggestSelection(invalid_utf8_text_with_phone_number, {1, 4}), in TEST_F()