Searched refs:string_fragments (Results 1 – 4 of 4) sorted by relevance
2379 const std::vector<InputFragment>& string_fragments, in AnnotateStructuredInput() argument2382 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() local2466 string_fragments.push_back({.text = context}); in Annotate()2468 AnnotateStructuredInput(string_fragments, options); in Annotate()
754 std::vector<InputFragment> string_fragments; in TC3_JNI_METHOD() local763 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()
2855 std::vector<InputFragment> string_fragments = { in TEST_F() local2863 classifier->AnnotateStructuredInput(string_fragments, annotation_options); in TEST_F()2880 std::vector<InputFragment> string_fragments = { in VerifyInputFragmentTimestampOverridesAnnotationOptions() local2888 classifier->AnnotateStructuredInput(string_fragments, annotation_options); in VerifyInputFragmentTimestampOverridesAnnotationOptions()2919 std::vector<InputFragment> string_fragments = { in VerifyInputFragmentTimezoneOverridesAnnotationOptions() local2929 classifier->AnnotateStructuredInput(string_fragments, annotation_options); in VerifyInputFragmentTimezoneOverridesAnnotationOptions()
210 const std::vector<InputFragment>& string_fragments,