12 Items found
How to install a language package and get speech recognition in new languages - As international talking robots, Pepper and NAO can access many languages for speech recognition, and its management is quite easy. This quick how-to explains how to set up new languages installing a language pack in a few simple steps.
Goal In this tutorial, we will use the Locale in order to change the locale of a Chat. The application will be able to switch the discussion locale between English and Japanese. Warning This tutorial aims to switch locale at the very limited level of the chat. According to your use case, you could prefer to manage the locale more globally, at application level.
Goal In this tutorial, we will create a dynamic QiChatbot, using Dynamic concepts. For further details, see: QiChat dynamic. Prerequisites Before stepping in this tutorial, you should: Know how to use Android resources. Be familiar with the Action notion. For further details, see: Running Actions on Pepper. Know how to use the QiChatbot. For further details, see: Listen and reply — QiChatbot. Let’s start a new project Start a new project, let’s call it DynamicConceptsPepper. Robotify it and make sure it implements the QiSDK & the Robot Life Cycle. For further details, see: Creating a robot application. Creating the topic file. Create a new topic file named greetings_dynamic.top for the English (en) language. Add the following content to this file: For more details about the syntax, see:
Goal In this tutorial we will use Listen and PhraseSet in order to make Pepper listen what a human says to him. Prerequisites: Running Actions on Pepper. Let’s start a new project Start a new project, let’s call it ListenPepper. Robotify it and make sure it implements the QiSDK & the Robot Life Cycle. For further details, see: Creating a robot application. Building PhraseSet. A PhraseSet represents a collection of Phrases that Pepper will be able to understand. Each Phrase object contains a text. To build a PhraseSet instance, use the PhraseSetBuilder class. Put the following code in the onRobotFocusGained method: Kotlin Java Here, we define the Phrases by passing directly each text as a String. In this example Pepper will be able to understand positive and negative answer