/external/libtextclassifier/native/utils/ |
D | lua-utils.cc | 366 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 …]
|
D | lua-utils.h | 316 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/ |
D | flatbuffer-utils.cc | 29 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()
|
D | annotator_jni.cc | 247 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()
|
D | annotator.h | 228 const reflection::Schema* entity_data_schema() const;
|
D | annotator.cc | 499 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
|
D | model.fbs | 585 entity_data_schema:[ubyte];
|
/external/libtextclassifier/native/actions/ |
D | lua-ranker.cc | 36 const reflection::Schema* entity_data_schema, in Create() argument 41 conversation, ranker_code, entity_data_schema, in Create()
|
D | lua-ranker_test.cc | 228 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()
|
D | ranker.h | 40 const reflection::Schema* entity_data_schema = nullptr,
|
D | lua-ranker.h | 33 const reflection::Schema* entity_data_schema,
|
D | ranker.cc | 240 const reflection::Schema* entity_data_schema, in RankActions() argument 349 conversation, lua_bytecode_, entity_data_schema, in RankActions()
|
D | actions-suggestions.h | 112 const reflection::Schema* entity_data_schema() const;
|
D | actions_jni.cc | 179 context->model()->entity_data_schema(); in ActionSuggestionsToJObject() 517 annotator ? annotator->entity_data_schema() : nullptr; in TC3_JNI_METHOD()
|
D | actions-suggestions.cc | 1399 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/ |
D | intent-generator.cc | 50 const reflection::Schema* entity_data_schema) in AnnotatorJniEnvironment() argument 55 entity_data_schema_(entity_data_schema) {} in AnnotatorJniEnvironment()
|
D | jni.h | 77 const reflection::Schema* entity_data_schema,
|
D | jni.cc | 348 const reflection::Schema* entity_data_schema, in EntityDataAsNamedVariantArray() argument 350 MutableFlatbufferBuilder entity_data_builder(entity_data_schema); in EntityDataAsNamedVariantArray()
|
/external/libtextclassifier/native/utils/testing/ |
D | annotator.cc | 76 unpacked_model->entity_data_schema.data())); in AddTestRegexModel() 190 unpacked_model->entity_data_schema.assign( in AddTestEntitySchemaData()
|