Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/grammar/parsing/
Dparser.cc212 if (nonterminals_->n_digits_nt() != nullptr) { in EmitSymbol()
215 if (num_digits <= nonterminals_->n_digits_nt()->size()) { in EmitSymbol()
216 const Nonterm n_digits_nt = in EmitSymbol() local
217 nonterminals_->n_digits_nt()->Get(num_digits - 1); in EmitSymbol()
218 if (n_digits_nt != kUnassignedNonterm) { in EmitSymbol()
220 nonterminals_->n_digits_nt()->Get(num_digits - 1), in EmitSymbol()
Dmatcher_test.cc321 rules_set->nonterminals()->n_digits_nt()->Get(4 - 1), in TEST_F()
333 rules_set->nonterminals()->n_digits_nt()->Get(4 - 1), in TEST_F()
365 rules_set->nonterminals()->n_digits_nt()->Get(4 - 1), in TEST_F()
377 rules_set->nonterminals()->n_digits_nt()->Get(4 - 1), in TEST_F()
387 rules_set->nonterminals()->n_digits_nt()->Get(4 - 1), in TEST_F()
419 rules_set->nonterminals()->n_digits_nt()->Get(4 - 1), in TEST_F()
433 rules_set->nonterminals()->n_digits_nt()->Get(4 - 1), in TEST_F()
/external/libtextclassifier/native/utils/grammar/utils/
Dir.cc411 if (const Nonterm n_digits_nt = in Serialize() local
413 output->nonterminals->n_digits_nt.resize(i, kUnassignedNonterm); in Serialize()
414 output->nonterminals->n_digits_nt[i - 1] = n_digits_nt; in Serialize()
/external/libtextclassifier/native/utils/grammar/
Drules.fbs136 // `n_digits_nt[k]` is the id of the nonterminal indicating a string of
138 n_digits_nt:[int];