Lines Matching refs:model_context
117 JNIEnv* env, const AnnotatorJniContext* model_context, jobject app_context, in ClassificationResultWithIntentsToJObject() argument
193 if (model_context->model()->entity_data_schema() != nullptr && in ClassificationResultWithIntentsToJObject()
195 extras = model_context->template_handler()->EntityDataAsNamedVariantArray( in ClassificationResultWithIntentsToJObject()
196 model_context->model()->entity_data_schema(), in ClassificationResultWithIntentsToJObject()
214 if (generate_intents && model_context->intent_generator() != nullptr) { in ClassificationResultWithIntentsToJObject()
216 if (model_context->intent_generator()->GenerateIntents( in ClassificationResultWithIntentsToJObject()
219 app_context, model_context->model()->entity_data_schema(), in ClassificationResultWithIntentsToJObject()
222 model_context->template_handler() in ClassificationResultWithIntentsToJObject()
238 JNIEnv* env, const AnnotatorJniContext* model_context, jobject app_context, in ClassificationResultsWithIntentsToJObjectArray() argument
275 env, model_context, app_context, result_class.get(), in ClassificationResultsWithIntentsToJObjectArray()
287 JNIEnv* env, const AnnotatorJniContext* model_context, in ClassificationResultsToJObjectArray() argument
290 env, model_context, in ClassificationResultsToJObjectArray()
549 const AnnotatorJniContext* model_context = in TC3_JNI_METHOD() local
558 model_context->model()->ClassifyText(context_utf8, input_indices, in TC3_JNI_METHOD()
562 env, model_context, app_context, device_locales, in TC3_JNI_METHOD()
567 return ClassificationResultsToJObjectArray(env, model_context, in TC3_JNI_METHOD()
576 const AnnotatorJniContext* model_context = in TC3_JNI_METHOD() local
580 model_context->model()->Annotate(context_utf8, in TC3_JNI_METHOD()
606 ClassificationResultsToJObjectArray(env, model_context, in TC3_JNI_METHOD()