Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dannotator_jni_common.cc343 AnnotationOptions annotation_options, in FromJavaAnnotationOptions()
347 TC3_ASSIGN_OR_RETURN(annotation_options.entity_types, in FromJavaAnnotationOptions()
349 annotation_options.is_serialized_entity_data_enabled = in FromJavaAnnotationOptions()
351 annotation_options.permissions.has_location_permission = in FromJavaAnnotationOptions()
353 annotation_options.permissions.has_personalization_permission = in FromJavaAnnotationOptions()
355 annotation_options.annotate_mode = static_cast<AnnotateMode>(annotate_mode); in FromJavaAnnotationOptions()
363 annotation_options.trigger_dictionary_on_beginner_words, in FromJavaAnnotationOptions()
366 return annotation_options; in FromJavaAnnotationOptions()
Dannotator_test-include.cc2154 AnnotationOptions annotation_options; in VerifyLongInput() local
2155 annotation_options.locales = "en"; in VerifyLongInput()
2156 EXPECT_THAT(classifier->Annotate(input_100k, annotation_options), in VerifyLongInput()
2860 AnnotationOptions annotation_options; in TEST_F() local
2861 annotation_options.locales = "en"; in TEST_F()
2863 classifier->AnnotateStructuredInput(string_fragments, annotation_options); in TEST_F()
2875 AnnotationOptions annotation_options; in VerifyInputFragmentTimestampOverridesAnnotationOptions() local
2876 annotation_options.locales = "en"; in VerifyInputFragmentTimestampOverridesAnnotationOptions()
2877 annotation_options.reference_time_ms_utc = in VerifyInputFragmentTimestampOverridesAnnotationOptions()
2888 classifier->AnnotateStructuredInput(string_fragments, annotation_options); in VerifyInputFragmentTimestampOverridesAnnotationOptions()
[all …]
Dannotator_jni.cc701 libtextclassifier3::AnnotationOptions annotation_options, in TC3_JNI_METHOD()
704 model_context->model()->Annotate(context_utf8, annotation_options); in TC3_JNI_METHOD()
767 libtextclassifier3::AnnotationOptions annotation_options, in TC3_JNI_METHOD()
771 annotation_options); in TC3_JNI_METHOD()
Dannotator.cc2428 AnnotationOptions annotation_options = options; in AnnotateStructuredInput() local
2432 annotation_options.reference_time_ms_utc = in AnnotateStructuredInput()
2434 annotation_options.reference_timezone = in AnnotateStructuredInput()
2442 AnnotateSingleInput(text_to_annotate[i], annotation_options, in AnnotateStructuredInput()