Home
last modified time | relevance | path

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

/external/libtextclassifier/native/lang_id/features/
Dchar-ngram-feature.cc81 int num_utf8_chars = 0; in ComputeNgramCounts() local
84 num_utf8_chars++; in ComputeNgramCounts()
85 } while ((num_utf8_chars < ngram_size_) && (ngram_end < word_end)); in ComputeNgramCounts()
87 if (num_utf8_chars < ngram_size_) { in ComputeNgramCounts()