Home
last modified time | relevance | path

Searched refs:labels_right (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/annotator/pod_ner/
Dutils_test.cc581 std::vector<PodNerModel_::LabelT> labels_right; in TEST() local
582 labels_right.emplace_back( in TEST()
584 labels_right.emplace_back(CreateLabel(BoiseType_O, MentionType_UNDEFINED, 0)); in TEST()
585 labels_right.emplace_back(CreateLabel(BoiseType_O, MentionType_UNDEFINED, 0)); in TEST()
586 labels_right.emplace_back(CreateLabel(BoiseType_BEGIN, MentionType_NAM, 4)); in TEST()
587 labels_right.emplace_back( in TEST()
589 labels_right.emplace_back( in TEST()
593 ASSERT_TRUE(MergeLabelsIntoLeftSequence(labels_right, in TEST()
608 ASSERT_TRUE(MergeLabelsIntoLeftSequence(labels_right, in TEST()
Dutils.cc419 const std::vector<PodNerModel_::LabelT> &labels_right, in MergeLabelsIntoLeftSequence() argument
429 labels_left->resize(index_first_right_tag_in_left + labels_right.size()); in MergeLabelsIntoLeftSequence()
430 std::copy(labels_right.begin() + overlaping_from_left, labels_right.end(), in MergeLabelsIntoLeftSequence()
Dutils.h111 const std::vector<PodNerModel_::LabelT> &labels_right,