Home
last modified time | relevance | path

Searched refs:UTF8Substring (Results 1 – 10 of 10) sorted by relevance

/external/libtextclassifier/utils/utf8/
Dunicodetext.cc207 return UTF8Substring(begin(), end()); in ToUTF8String()
210 std::string UnicodeText::UTF8Substring(int begin_codepoint, in UTF8Substring() function in libtextclassifier3::UnicodeText
216 return UTF8Substring(span_begin, span_end); in UTF8Substring()
219 std::string UnicodeText::UTF8Substring(const const_iterator& it_begin, in UTF8Substring() function in libtextclassifier3::UnicodeText
Dunicodetext.h175 std::string UTF8Substring(int begin_codepoint, int end_codepoint) const;
176 static std::string UTF8Substring(const const_iterator& it_begin,
Dunicodetext_test.cc49 EXPECT_EQ(text.UTF8Substring(it_begin, it_end), "��h"); in TEST()
/external/libtextclassifier/utils/
Dtoken-feature-extractor.cc255 feature_word = "^" + word.UTF8Substring(word.begin(), word.end()) + "$"; in ExtractCharactergramFeaturesUnicode()
259 word.UTF8Substring(word.begin(), left_cut) + in ExtractCharactergramFeaturesUnicode()
261 word.UTF8Substring(right_cut, word.end()) + in ExtractCharactergramFeaturesUnicode()
Dtokenizer.cc247 context_unicode.UTF8Substring(token_begin_it, token_end_it); in ICUTokenize()
/external/libtextclassifier/annotator/datetime/
Dparser_test.cc97 UnicodeText::UTF8Substring(marked_text_unicode.begin(), brace_open_it); in ParsesCorrectly()
98 text += UnicodeText::UTF8Substring(std::next(brace_open_it), brace_end_it); in ParsesCorrectly()
99 text += UnicodeText::UTF8Substring(std::next(brace_end_it), in ParsesCorrectly()
/external/libtextclassifier/annotator/
Dannotator.cc1364 .UTF8Substring(selection_indices.first, selection_indices.second); in RegexClassifyText()
1441 .UTF8Substring(selection_indices.first, selection_indices.second); in DatetimeClassifyText()
1666 UnicodeText::UTF8Substring(line.first, line.second); in ModelAnnotate()
Dfeature-processor.cc119 Token new_token(token_word.UTF8Substring(last_start, split_point), in SplitTokensOnSelectionBoundaries()
/external/libtextclassifier/utils/intents/
Dintent-generator.cc853 .UTF8Substring(selection_indices.first, selection_indices.second); in GenerateIntents()
/external/libtextclassifier/actions/
Dactions-suggestions.cc1091 .UTF8Substring(annotation.span.first, annotation.span.second)}; in SuggestActionsFromAnnotations()