Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl.cc62 void EmplaceToLabelVector(BoiseType boise_type, MentionType mention_type, in EmplaceToLabelVector() argument
66 labels->back().mention_type = mention_type; in EmplaceToLabelVector()
87 for (auto mention_type : {MentionType_NAM, MentionType_NOM}) { in FillDefaultLabelsAndCollections()
89 EmplaceToLabelVector(boise_type, mention_type, i, labels); in FillDefaultLabelsAndCollections()
94 for (auto mention_type : {MentionType_NAM, MentionType_NOM}) { in FillDefaultLabelsAndCollections()
96 EmplaceToLabelVector(BoiseType_SINGLE, mention_type, i, labels); in FillDefaultLabelsAndCollections()
210 annotator->labels_.back().mention_type = label->mention_type(); in Create()
Dpod-ner-impl_test.cc158 BoiseType boise_type, MentionType mention_type, int collection_id, in EmplaceToLabelVector() argument
162 labels->back()->mention_type = mention_type; in EmplaceToLabelVector()
171 for (auto mention_type : {MentionType_NAM, MentionType_NOM}) { in FillLabels()
173 EmplaceToLabelVector(boise_type, mention_type, i, labels); in FillLabels()
179 for (auto mention_type : {MentionType_NAM, MentionType_NOM}) { in FillLabels()
181 EmplaceToLabelVector(BoiseType_SINGLE, mention_type, i, labels); in FillLabels()
Dutils.cc348 label.mention_type) == mention_filter.end()) { in ConvertTagsToAnnotatedSpans()
381 labels[i - 1].mention_type != label.mention_type) || in ConvertTagsToAnnotatedSpans()
394 labels[i - 1].mention_type == label.mention_type)) { in ConvertTagsToAnnotatedSpans()
Dutils_test.cc64 LabelT CreateLabel(BoiseType boise_type, MentionType mention_type, in CreateLabel() argument
68 label.mention_type = mention_type; in CreateLabel()
/external/libtextclassifier/native/annotator/
Dmodel.fbs966 mention_type:Label_.MentionType;