Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/grammar/utils/
Drules_test.cc193 EXPECT_THAT(frozen_rules.nonterminals->annotation_nt, SizeIs(3)); in TEST()
194 EXPECT_EQ(frozen_rules.nonterminals->annotation_nt[0]->key, "phone"); in TEST()
195 EXPECT_EQ(frozen_rules.nonterminals->annotation_nt[1]->key, in TEST()
197 EXPECT_EQ(frozen_rules.nonterminals->annotation_nt[2]->key, "url"); in TEST()
Dir.cc432 for (const auto& [annotation, annotation_nt] : annotations_) { in Serialize()
433 output->nonterminals->annotation_nt.emplace_back( in Serialize()
435 output->nonterminals->annotation_nt.back()->key = annotation; in Serialize()
436 output->nonterminals->annotation_nt.back()->value = annotation_nt; in Serialize()
438 SortForBinarySearchLookup(&output->nonterminals->annotation_nt); in Serialize()
/external/libtextclassifier/native/actions/
Dactions-suggestions.cc312 if (auto annotation_nt = model_->rules() in ValidateAndInitialize() local
316 ->annotation_nt()) { in ValidateAndInitialize()
318 *annotation_nt) { in ValidateAndInitialize()
1016 ->annotation_nt()) in AnnotateConversation()
/external/libtextclassifier/native/utils/grammar/
Dlexer.cc263 auto annotation_nonterminals = nonterminals->annotation_nt(); in Process()
Drules.fbs147 annotation_nt:[Nonterminals_.AnnotationNtEntry];