Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dannotator.cc2379 const std::vector<InputFragment>& string_fragments, in AnnotateStructuredInput() argument
2382 annotation_candidates.annotated_spans.resize(string_fragments.size()); in AnnotateStructuredInput()
2385 text_to_annotate.reserve(string_fragments.size()); in AnnotateStructuredInput()
2387 fragment_metadata.reserve(string_fragments.size()); in AnnotateStructuredInput()
2388 for (const auto& string_fragment : string_fragments) { in AnnotateStructuredInput()
2429 if (string_fragments[i].datetime_options.has_value()) { in AnnotateStructuredInput()
2431 string_fragments[i].datetime_options.value(); in AnnotateStructuredInput()
2465 std::vector<InputFragment> string_fragments; in Annotate() local
2466 string_fragments.push_back({.text = context}); in Annotate()
2468 AnnotateStructuredInput(string_fragments, options); in Annotate()
Dannotator_jni.cc754 std::vector<InputFragment> string_fragments; in TC3_JNI_METHOD() local
763 string_fragments.push_back(std::move(fragment)); in TC3_JNI_METHOD()
770 model_context->model()->AnnotateStructuredInput(string_fragments, in TC3_JNI_METHOD()
825 string_fragments[fragment_index].text, in TC3_JNI_METHOD()
Dannotator_test-include.cc2855 std::vector<InputFragment> string_fragments = { in TEST_F() local
2863 classifier->AnnotateStructuredInput(string_fragments, annotation_options); in TEST_F()
2880 std::vector<InputFragment> string_fragments = { in VerifyInputFragmentTimestampOverridesAnnotationOptions() local
2888 classifier->AnnotateStructuredInput(string_fragments, annotation_options); in VerifyInputFragmentTimestampOverridesAnnotationOptions()
2919 std::vector<InputFragment> string_fragments = { in VerifyInputFragmentTimezoneOverridesAnnotationOptions() local
2929 classifier->AnnotateStructuredInput(string_fragments, annotation_options); in VerifyInputFragmentTimezoneOverridesAnnotationOptions()
Dannotator.h210 const std::vector<InputFragment>& string_fragments,