Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/
Dtoken-feature-extractor.cc211 for (int chargram_order : options_.chargram_orders) { in ExtractCharactergramFeaturesAscii() local
212 if (chargram_order == 1) { in ExtractCharactergramFeaturesAscii()
219 i < static_cast<int>(feature_word.size()) - chargram_order + 1; in ExtractCharactergramFeaturesAscii()
222 /*len=*/chargram_order))); in ExtractCharactergramFeaturesAscii()
275 for (int chargram_order : options_.chargram_orders) { in ExtractCharactergramFeaturesUnicode() local
278 if (chargram_order == 1) { in ExtractCharactergramFeaturesUnicode()
286 for (int i = 0; i < chargram_order; ++i) { in ExtractCharactergramFeaturesUnicode()