Home
last modified time | relevance | path

Searched refs:intent_generator (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/actions/
Dactions_jni.cc74 std::unique_ptr<IntentGenerator> intent_generator = in Create() local
80 if (intent_generator == nullptr || template_handler == nullptr) { in Create()
85 std::move(intent_generator), in Create()
95 IntentGenerator* intent_generator() const { return intent_generator_.get(); } in intent_generator() function in libtextclassifier3::__anon16d418470111::ActionsSuggestionsJniContext
105 std::unique_ptr<IntentGenerator> intent_generator, in ActionsSuggestionsJniContext() argument
109 intent_generator_(std::move(intent_generator)), in ActionsSuggestionsJniContext()
179 if (context->intent_generator()->GenerateIntents( in ActionSuggestionsToJObjectArray()
/external/libtextclassifier/native/annotator/
Dannotator_jni.cc81 std::unique_ptr<IntentGenerator> intent_generator = in Create() local
91 std::move(intent_generator), in Create()
103 IntentGenerator* intent_generator() const { return intent_generator_.get(); } in intent_generator() function in libtextclassifier3::__anonc355efd10111::AnnotatorJniContext
113 std::unique_ptr<IntentGenerator> intent_generator, in AnnotatorJniContext() argument
117 intent_generator_(std::move(intent_generator)), in AnnotatorJniContext()
255 if (generate_intents && model_context->intent_generator() != nullptr) { in ClassificationResultWithIntentsToJObject()
257 if (!model_context->intent_generator()->GenerateIntents( in ClassificationResultWithIntentsToJObject()
/external/libtextclassifier/native/utils/intents/
Dintent-generator.cc812 std::unique_ptr<IntentGenerator> intent_generator( in Create() local
846 intent_generator->generators_[generator->type()->str()] = lua_code; in Create()
849 return intent_generator; in Create()