Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/grammar/utils/
Dir.cc403 output->nonterminals->start_nt = GetNonterminalForName(kStartNonterm); in Serialize()
404 output->nonterminals->end_nt = GetNonterminalForName(kEndNonterm); in Serialize()
405 output->nonterminals->wordbreak_nt = GetNonterminalForName(kWordBreakNonterm); in Serialize()
406 output->nonterminals->token_nt = GetNonterminalForName(kTokenNonterm); in Serialize()
408 GetNonterminalForName(kUppercaseTokenNonterm); in Serialize()
409 output->nonterminals->digits_nt = GetNonterminalForName(kDigitsNonterm); in Serialize()
412 GetNonterminalForName(strings::StringPrintf(kNDigitsNonterm, i))) { in Serialize()
Drules.cc450 if (rules.GetNonterminalForName(nonterminal.name) != kUnassignedNonterm) { in Finalize()
489 const Nonterm filler = rules.GetNonterminalForName(kFiller); in Finalize()
491 rules.DefineNonterminal(rules.GetNonterminalForName(kTokenNonterm)); in Finalize()
Dir.h134 Nonterm GetNonterminalForName(const std::string& name) const { in GetNonterminalForName() function
/external/libtextclassifier/native/actions/
Dgrammar-actions_test.cc613 ir.GetNonterminalForName("<phone_annotation>"); in TEST_F()