Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/intents/
Dintent-generator.cc112 std::unique_ptr<IntentGenerator> intent_generator( in Create() local
146 intent_generator->generators_[generator->type()->str()] = lua_code; in Create()
149 return intent_generator; in Create()
/external/libtextclassifier/native/actions/
Dactions_jni.cc73 std::unique_ptr<IntentGenerator> intent_generator = in Create() local
76 if (intent_generator == 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::__anon488ae8a30111::ActionsSuggestionsJniContext
105 std::unique_ptr<IntentGenerator> intent_generator, in ActionsSuggestionsJniContext() argument
109 intent_generator_(std::move(intent_generator)), in ActionsSuggestionsJniContext()
204 if (context->intent_generator()->GenerateIntents( in ActionSuggestionsToJObject()
/external/libtextclassifier/native/annotator/
Dannotator_jni.cc83 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::__anon9a758e2d0111::AnnotatorJniContext
113 std::unique_ptr<IntentGenerator> intent_generator, in AnnotatorJniContext() argument
117 intent_generator_(std::move(intent_generator)), in AnnotatorJniContext()
272 if (generate_intents && model_context->intent_generator() != nullptr) { in ClassificationResultWithIntentsToJObject()
274 if (!model_context->intent_generator()->GenerateIntents( in ClassificationResultWithIntentsToJObject()