Searched refs:AnnotatedSpan (Results 1 - 6 of 6) sorted by relevance
/external/libtextclassifier/ |
H A D | types-test-util.h | 34 const AnnotatedSpan& value) {
|
H A D | text-classifier.h | 147 std::vector<AnnotatedSpan> Annotate( 201 bool ResolveConflicts(const std::vector<AnnotatedSpan>& candidates, 212 const std::vector<AnnotatedSpan>& candidates, 224 std::vector<AnnotatedSpan>* result) const; 268 std::vector<AnnotatedSpan>* result) const; 305 std::vector<AnnotatedSpan>* result) const; 312 std::vector<AnnotatedSpan>* result) const; 315 bool FilteredForAnnotation(const AnnotatedSpan& span) const; 318 bool FilteredForSelection(const AnnotatedSpan& span) const;
|
H A D | text-classifier.cc | 393 bool TextClassifier::FilteredForAnnotation(const AnnotatedSpan& span) const { 406 bool TextClassifier::FilteredForSelection(const AnnotatedSpan& span) const { 460 std::vector<AnnotatedSpan> candidates; 484 [](const AnnotatedSpan& a, const AnnotatedSpan& b) { 527 int FirstNonOverlappingSpanIndex(const std::vector<AnnotatedSpan>& candidates, 545 const std::vector<AnnotatedSpan>& candidates, const std::string& context, 593 const std::vector<AnnotatedSpan>& candidates, int start_index, 651 std::vector<AnnotatedSpan>* result) const { 736 AnnotatedSpan candidat [all...] |
H A D | types.h | 262 struct AnnotatedSpan { struct in namespace:libtextclassifier2 270 // Pretty-printing function for AnnotatedSpan. 272 logging::LoggingStringStream& stream, const AnnotatedSpan& span) {
|
H A D | text-classifier_test.cc | 1070 AnnotatedSpan MakeAnnotatedSpan(CodepointSpan span, 1073 AnnotatedSpan result; 1083 std::vector<AnnotatedSpan> candidates{ 1096 std::vector<AnnotatedSpan> candidates{{ 1114 std::vector<AnnotatedSpan> candidates{{ 1130 std::vector<AnnotatedSpan> candidates{{ 1146 std::vector<AnnotatedSpan> candidates{{
|
H A D | textclassifier_jni.cc | 32 using libtextclassifier2::AnnotatedSpan; 407 std::vector<AnnotatedSpan> annotations = 411 env->FindClass(TC_PACKAGE_PATH TC_CLASS_NAME_STR "$AnnotatedSpan"); 414 << TC_PACKAGE_PATH TC_CLASS_NAME_STR "$AnnotatedSpan";
|
Completed in 142 milliseconds