Home
last modified time | relevance | path

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

/aosp_15_r20/external/libtextclassifier/native/annotator/
H A Dannotator.cc2394 std::vector<std::string> text_to_annotate; in AnnotateStructuredInput() local
2395 text_to_annotate.reserve(string_fragments.size()); in AnnotateStructuredInput()
2399 text_to_annotate.push_back(string_fragment.text); in AnnotateStructuredInput()
2415 ->ChunkMultipleSpans(text_to_annotate, fragment_metadata, in AnnotateStructuredInput()
2424 if (annotation_candidates.annotated_spans.size() != text_to_annotate.size()) { in AnnotateStructuredInput()
2425 TC3_LOG(ERROR) << "Received " << text_to_annotate.size() in AnnotateStructuredInput()
2444 for (int i = 0; i < text_to_annotate.size(); ++i) { in AnnotateStructuredInput()
2459 AnnotateSingleInput(text_to_annotate[i], annotation_options, in AnnotateStructuredInput()