Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/
Dlua-utils.cc366 const reflection::Schema* entity_data_schema) const { in PushAnnotation()
367 if (entity_data_schema == nullptr || in PushAnnotation()
372 PushFlatbuffer(entity_data_schema, in PushAnnotation()
390 const reflection::Schema* entity_data_schema) const { in PushAnnotation()
391 PushAnnotation(classification, entity_data_schema); in PushAnnotation()
398 const reflection::Schema* entity_data_schema) const { in PushAnnotation()
399 PushAnnotation(annotation.entity, annotation.span.text, entity_data_schema); in PushAnnotation()
416 const reflection::Schema* entity_data_schema) const { in PushAnnotatedSpan()
426 PushAnnotations(&annotated_span.classification, entity_data_schema); in PushAnnotatedSpan()
432 const reflection::Schema* entity_data_schema) const { in PushAnnotatedSpans()
[all …]
Dlua-utils.h316 const reflection::Schema* entity_data_schema) const;
319 const reflection::Schema* entity_data_schema) const;
321 const reflection::Schema* entity_data_schema) const;
325 const reflection::Schema* entity_data_schema) const { in PushAnnotations() argument
328 [this, annotations, entity_data_schema](const int64 index) { in PushAnnotations()
329 PushAnnotation(annotations->at(index), entity_data_schema); in PushAnnotations()
332 [this, annotations, entity_data_schema](StringPiece name) { in PushAnnotations()
335 PushAnnotation(*annotation, entity_data_schema); in PushAnnotations()
345 const reflection::Schema* entity_data_schema) const;
347 const reflection::Schema* entity_data_schema) const;
[all …]
/external/libtextclassifier/native/annotator/
Dflatbuffer-utils.cc29 if (model->regex_model == nullptr || model->entity_data_schema.empty()) { in SwapFieldNamesForOffsetsInPath()
35 model->entity_data_schema.data(), model->entity_data_schema.size()); in SwapFieldNamesForOffsetsInPath()
Dannotator_jni.cc247 if (model_context->model()->entity_data_schema() != nullptr && in ClassificationResultWithIntentsToJObject()
252 model_context->model()->entity_data_schema(), in ClassificationResultWithIntentsToJObject()
277 app_context, model_context->model()->entity_data_schema(), in ClassificationResultWithIntentsToJObject()
Dannotator.h228 const reflection::Schema* entity_data_schema() const;
Dannotator.cc499 if (model_->entity_data_schema()) { in ValidateAndInitialize()
501 model_->entity_data_schema()->Data(), in ValidateAndInitialize()
502 model_->entity_data_schema()->size()); in ValidateAndInitialize()
3177 const reflection::Schema* Annotator::entity_data_schema() const { in entity_data_schema() function in libtextclassifier3::Annotator
Dmodel.fbs585 entity_data_schema:[ubyte];
/external/libtextclassifier/native/actions/
Dlua-ranker.cc36 const reflection::Schema* entity_data_schema, in Create() argument
41 conversation, ranker_code, entity_data_schema, in Create()
Dlua-ranker_test.cc228 const reflection::Schema* entity_data_schema = in TEST() local
232 MutableFlatbufferBuilder builder(entity_data_schema); in TEST()
261 conversation, test_snippet, entity_data_schema, in TEST()
Dranker.h40 const reflection::Schema* entity_data_schema = nullptr,
Dlua-ranker.h33 const reflection::Schema* entity_data_schema,
Dranker.cc240 const reflection::Schema* entity_data_schema, in RankActions() argument
349 conversation, lua_bytecode_, entity_data_schema, in RankActions()
Dactions-suggestions.h112 const reflection::Schema* entity_data_schema() const;
Dactions_jni.cc179 context->model()->entity_data_schema(); in ActionSuggestionsToJObject()
517 annotator ? annotator->entity_data_schema() : nullptr; in TC3_JNI_METHOD()
Dactions-suggestions.cc1399 annotator != nullptr ? annotator->entity_data_schema() : nullptr, in GatherActionsSuggestions()
1455 ? annotator->entity_data_schema() in SuggestActions()
1470 const reflection::Schema* ActionsSuggestions::entity_data_schema() const { in entity_data_schema() function in libtextclassifier3::ActionsSuggestions
/external/libtextclassifier/native/utils/intents/
Dintent-generator.cc50 const reflection::Schema* entity_data_schema) in AnnotatorJniEnvironment() argument
55 entity_data_schema_(entity_data_schema) {} in AnnotatorJniEnvironment()
Djni.h77 const reflection::Schema* entity_data_schema,
Djni.cc348 const reflection::Schema* entity_data_schema, in EntityDataAsNamedVariantArray() argument
350 MutableFlatbufferBuilder entity_data_builder(entity_data_schema); in EntityDataAsNamedVariantArray()
/external/libtextclassifier/native/utils/testing/
Dannotator.cc76 unpacked_model->entity_data_schema.data())); in AddTestRegexModel()
190 unpacked_model->entity_data_schema.assign( in AddTestEntitySchemaData()