Searched refs:AnnotatedSpan (Results 1 - 6 of 6) sorted by relevance

/external/libtextclassifier/
H A Dtypes-test-util.h34 const AnnotatedSpan& value) {
H A Dtext-classifier.h147 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 Dtext-classifier.cc393 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 Dtypes.h262 struct AnnotatedSpan { struct in namespace:libtextclassifier2
270 // Pretty-printing function for AnnotatedSpan.
272 logging::LoggingStringStream& stream, const AnnotatedSpan& span) {
H A Dtext-classifier_test.cc1070 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 Dtextclassifier_jni.cc32 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 171 milliseconds