Searched refs:mention_type (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl.cc | 62 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()
|
D | pod-ner-impl_test.cc | 158 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()
|
D | utils.cc | 348 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()
|
D | utils_test.cc | 64 LabelT CreateLabel(BoiseType boise_type, MentionType mention_type, in CreateLabel() argument 68 label.mention_type = mention_type; in CreateLabel()
|
/external/libtextclassifier/native/annotator/ |
D | model.fbs | 966 mention_type:Label_.MentionType;
|