Home
last modified time | relevance | path

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

/external/libtextclassifier/actions/
Dlua-utils.h40 const reflection::Schema* entity_data_schema,
44 const reflection::Schema* entity_data_schema,
47 const reflection::Schema* entity_data_schema,
55 AnnotationIterator(const reflection::Schema* entity_data_schema, in AnnotationIterator() argument
57 : env_(env), entity_data_schema_(entity_data_schema) {} in AnnotationIterator()
88 const reflection::Schema* entity_data_schema, LuaEnvironment* env);
89 int ReadAnnotations(const reflection::Schema* entity_data_schema,
93 const reflection::Schema* entity_data_schema, LuaEnvironment* env);
103 AnnotatedSpanIterator(const reflection::Schema* entity_data_schema, in AnnotatedSpanIterator() argument
105 : env_(env), annotation_iterator_(entity_data_schema, env) {} in AnnotatedSpanIterator()
[all …]
Dlua-utils.cc74 const reflection::Schema* entity_data_schema, in PushAnnotation() argument
76 if (entity_data_schema == nullptr || in PushAnnotation()
81 env->PushFlatbuffer(entity_data_schema, in PushAnnotation()
101 const reflection::Schema* entity_data_schema, in PushAnnotation() argument
103 PushAnnotation(classification, entity_data_schema, env); in PushAnnotation()
150 int ReadAnnotations(const reflection::Schema* entity_data_schema, in ReadAnnotations() argument
170 annotations->push_back(ReadAnnotation(entity_data_schema, env)); in ReadAnnotations()
177 const reflection::Schema* entity_data_schema, LuaEnvironment* env) { in ReadAnnotation() argument
187 annotation.entity = ReadClassificationResult(entity_data_schema, env); in ReadAnnotation()
197 const reflection::Schema* entity_data_schema, LuaEnvironment* env) { in ReadClassificationResult() argument
[all …]
Dlua-ranker.h34 const reflection::Schema* entity_data_schema,
43 const reflection::Schema* entity_data_schema, in ActionsSuggestionsLuaRanker() argument
49 actions_iterator_(entity_data_schema, annotations_entity_data_schema, in ActionsSuggestionsLuaRanker()
Dlua-ranker_test.cc228 const reflection::Schema* entity_data_schema = in TEST() local
232 ReflectiveFlatbufferBuilder builder(entity_data_schema); in TEST()
261 conversation, test_snippet, entity_data_schema, in TEST()
Dlua-ranker.cc35 const reflection::Schema* entity_data_schema, in Create() argument
40 conversation, ranker_code, entity_data_schema, in Create()
Dranker.h39 const reflection::Schema* entity_data_schema = nullptr,
Dranker.cc234 const reflection::Schema* entity_data_schema, in RankActions() argument
342 conversation, lua_bytecode_, entity_data_schema, in RankActions()
Dactions_jni.cc146 context->model()->entity_data_schema(); in ActionSuggestionsToJObjectArray()
376 annotator ? annotator->entity_data_schema() : nullptr; in TC3_JNI_METHOD()
Dactions-suggestions.h109 const reflection::Schema* entity_data_schema() const;
Dactions-suggestions.cc1395 annotator != nullptr ? annotator->entity_data_schema() : nullptr, in GatherActionsSuggestions()
1424 ? annotator->entity_data_schema() in SuggestActions()
1439 const reflection::Schema* ActionsSuggestions::entity_data_schema() const { in entity_data_schema() function in libtextclassifier3::ActionsSuggestions
/external/libtextclassifier/utils/intents/
Djni.cc218 const reflection::Schema* entity_data_schema, in EntityDataAsNamedVariantArray() argument
220 ReflectiveFlatbufferBuilder entity_data_builder(entity_data_schema); in EntityDataAsNamedVariantArray()
Djni.h66 const reflection::Schema* entity_data_schema,
Dintent-generator.cc710 const reflection::Schema* entity_data_schema) in AnnotatorJniEnvironment() argument
715 entity_data_schema_(entity_data_schema) {} in AnnotatorJniEnvironment()
/external/libtextclassifier/annotator/
Dannotator_jni.cc193 if (model_context->model()->entity_data_schema() != nullptr && in ClassificationResultWithIntentsToJObject()
196 model_context->model()->entity_data_schema(), in ClassificationResultWithIntentsToJObject()
219 app_context, model_context->model()->entity_data_schema(), in ClassificationResultWithIntentsToJObject()
Dannotator.cc421 if (model_->entity_data_schema()) { in ValidateAndInitialize()
423 model_->entity_data_schema()->Data(), in ValidateAndInitialize()
424 model_->entity_data_schema()->size()); in ValidateAndInitialize()
2357 const reflection::Schema* Annotator::entity_data_schema() const { in entity_data_schema() function in libtextclassifier3::Annotator
Dannotator.h259 const reflection::Schema* entity_data_schema() const;
Dmodel.fbs443 entity_data_schema:[ubyte];