Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dannotator_jni_common.cc28 std::unordered_set<std::string> entity_types; in EntityTypesFromJObject() local
38 entity_types.insert(entity_type); in EntityTypesFromJObject()
40 return entity_types; in EntityTypesFromJObject()
304 ScopedLocalRef<jobject> entity_types, in FromJavaAnnotationOptions()
347 TC3_ASSIGN_OR_RETURN(annotation_options.entity_types, in FromJavaAnnotationOptions()
348 EntityTypesFromJObject(env, entity_types.get())); in FromJavaAnnotationOptions()
Dtypes.h605 std::unordered_set<std::string> entity_types; member
627 this->entity_types == other.entity_types &&
Dannotator.h93 const std::unordered_set<std::string>& entity_types) in EnabledEntityTypes() argument
94 : entity_types_(entity_types) {} in EnabledEntityTypes()
Dannotator.cc2186 const EnabledEntityTypes is_entity_type_enabled(options.entity_types); in AnnotateSingleInput()
2421 options.entity_types.size() == 1 && in AnnotateStructuredInput()
2422 *options.entity_types.begin() == Collections::Entity()) { in AnnotateStructuredInput()
Dannotator_test-include.cc3015 options.entity_types.insert("some_unknown_entity_type"); in TEST_F()
3076 options.entity_types.insert(example.collection); in VerifyAnnotateSupportsPointwiseCollectionFilteringInRawMode()
/external/libtextclassifier/native/actions/
Dactions-suggestions.cc1070 options.entity_types = annotation_entity_types_; in AnnotationOptionsForMessage()