Searched refs:UTF8Substring (Results 1 – 10 of 10) sorted by relevance
| /external/libtextclassifier/utils/utf8/ |
| D | unicodetext.cc | 207 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
|
| D | unicodetext.h | 175 std::string UTF8Substring(int begin_codepoint, int end_codepoint) const; 176 static std::string UTF8Substring(const const_iterator& it_begin,
|
| D | unicodetext_test.cc | 49 EXPECT_EQ(text.UTF8Substring(it_begin, it_end), "h"); in TEST()
|
| /external/libtextclassifier/utils/ |
| D | token-feature-extractor.cc | 255 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()
|
| D | tokenizer.cc | 247 context_unicode.UTF8Substring(token_begin_it, token_end_it); in ICUTokenize()
|
| /external/libtextclassifier/annotator/datetime/ |
| D | parser_test.cc | 97 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/ |
| D | annotator.cc | 1364 .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()
|
| D | feature-processor.cc | 119 Token new_token(token_word.UTF8Substring(last_start, split_point), in SplitTokensOnSelectionBoundaries()
|
| /external/libtextclassifier/utils/intents/ |
| D | intent-generator.cc | 853 .UTF8Substring(selection_indices.first, selection_indices.second); in GenerateIntents()
|
| /external/libtextclassifier/actions/ |
| D | actions-suggestions.cc | 1091 .UTF8Substring(annotation.span.first, annotation.span.second)}; in SuggestActionsFromAnnotations()
|