Home
last modified time | relevance | path

Searched refs:it_start (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/annotator/translate/
Dtranslate.cc188 auto it_start = FindIndexOfNextWhitespaceOrPunctuation(text, iter_start, -1); in TokenAlignedSubstringAroundSpan() local
194 if (it_start != it_end && unilib_->IsWhitespace(*it_start)) { in TokenAlignedSubstringAroundSpan()
195 std::advance(it_start, 1); in TokenAlignedSubstringAroundSpan()
198 return UnicodeText::Substring(it_start, it_end, /*do_copy=*/false); in TokenAlignedSubstringAroundSpan()
/external/libtextclassifier/native/utils/
Dtoken-feature-extractor.cc276 UnicodeText::const_iterator it_start = feature_word_unicode.begin(); in ExtractCharactergramFeaturesUnicode() local
279 ++it_start; in ExtractCharactergramFeaturesUnicode()
283 UnicodeText::const_iterator it_chargram_start = it_start; in ExtractCharactergramFeaturesUnicode()
284 UnicodeText::const_iterator it_chargram_end = it_start; in ExtractCharactergramFeaturesUnicode()