Home
last modified time | relevance | path

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

/external/libtextclassifier/native/actions/
Dngram-model.cc122 for (int ngram_len = 2; in GetNumSkipGrams() local
123 ngram_len <= max_ngram_length && ngram_len <= num_tokens; ++ngram_len) { in GetNumSkipGrams()
129 const int num_gaps = ngram_len - 1; in GetNumSkipGrams()
130 const int len_min = ngram_len; in GetNumSkipGrams()
131 const int len_max = ngram_len + num_gaps * max_skips; in GetNumSkipGrams()