Lines Matching refs:FindLanguage
47 EXPECT_EQ("en", lang_id->FindLanguage("This text is written in English.")); in TEST()
49 lang_id->FindLanguage("This text is written in English. ")); in TEST()
51 lang_id->FindLanguage(" This text is written in English. ")); in TEST()
52 EXPECT_EQ("fr", lang_id->FindLanguage("Vive la France! Vive la France!")); in TEST()
53 EXPECT_EQ("ro", lang_id->FindLanguage("Sunt foarte foarte foarte fericit!")); in TEST()
69 EXPECT_EQ(kDefaultLanguage, lang_id->FindLanguage("y")); in TEST()
70 EXPECT_EQ(kDefaultLanguage, lang_id->FindLanguage("j")); in TEST()
71 EXPECT_EQ(kDefaultLanguage, lang_id->FindLanguage("l")); in TEST()
72 EXPECT_EQ(kDefaultLanguage, lang_id->FindLanguage("w")); in TEST()
73 EXPECT_EQ(kDefaultLanguage, lang_id->FindLanguage("z")); in TEST()
74 EXPECT_EQ(kDefaultLanguage, lang_id->FindLanguage("zulu")); in TEST()
92 EXPECT_EQ(kJapanese, lang_id->FindLanguage("y")); in TEST()
93 EXPECT_EQ(kJapanese, lang_id->FindLanguage("j")); in TEST()
94 EXPECT_EQ(kJapanese, lang_id->FindLanguage("l")); in TEST()
110 EXPECT_EQ(kDefaultLanguage, lang_id->FindLanguage(still_small_string)); in TEST()
137 const std::string predicted_language = lang_id->FindLanguage(gibberish); in CheckPredictionForGibberishStrings()