Searched refs:PodNerAnnotator (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl_test.cc | 105 std::unique_ptr<PodNerAnnotator> annotator = in TEST_F() 106 PodNerAnnotator::Create(model_, *unilib_); in TEST_F() 128 std::unique_ptr<PodNerAnnotator> annotator = in TEST_F() 129 PodNerAnnotator::Create(model_, *unilib_); in TEST_F() 187 std::unique_ptr<PodNerAnnotator> annotator = in TEST_F() 188 PodNerAnnotator::Create(model_, *unilib_); in TEST_F() 233 std::unique_ptr<PodNerAnnotator> annotator = PodNerAnnotator::Create( in TEST_F() 261 std::unique_ptr<PodNerAnnotator> annotator = in TEST_F() 262 PodNerAnnotator::Create(model_, *unilib_); in TEST_F() 282 annotator = PodNerAnnotator::Create( in TEST_F() [all …]
|
D | pod-ner-impl.cc | 180 std::unique_ptr<PodNerAnnotator> PodNerAnnotator::Create( in Create() 198 std::unique_ptr<PodNerAnnotator> annotator(new PodNerAnnotator(unilib)); in Create() 243 std::vector<LabelT> PodNerAnnotator::ReadResultsFromInterpreter( in ReadResultsFromInterpreter() 269 std::vector<LabelT> PodNerAnnotator::ExecuteModel( in ExecuteModel() 346 bool PodNerAnnotator::PrepareText(const UnicodeText &text_unicode, in PrepareText() 390 bool PodNerAnnotator::Annotate(const UnicodeText &context, in Annotate() 396 bool PodNerAnnotator::AnnotateAroundSpanOfInterest( in AnnotateAroundSpanOfInterest() 461 bool PodNerAnnotator::SuggestSelection(const UnicodeText &context, in SuggestSelection() 490 bool PodNerAnnotator::ClassifyText(const UnicodeText &context, in ClassifyText() 512 std::vector<std::string> PodNerAnnotator::GetSupportedCollections() const { in GetSupportedCollections()
|
D | pod-ner-impl.h | 35 class PodNerAnnotator { 37 static std::unique_ptr<PodNerAnnotator> Create(const PodNerModel *model, 55 explicit PodNerAnnotator(const UniLib &unilib) : unilib_(unilib) {} in PodNerAnnotator() function
|
/external/libtextclassifier/native/annotator/ |
D | annotator.h | 535 std::unique_ptr<const PodNerAnnotator> pod_ner_annotator_;
|
D | annotator.cc | 490 PodNerAnnotator::Create(model_->pod_ner_model(), *unilib_); in ValidateAndInitialize()
|