This is an Android app demonstrating how Android Speech Recognizer and Microsoft Cognitive Services on Azure work together to helps translating your speech from one language (Chinese is used as primary language in this app) to another.
Choosing Language | Voice Input | Translating | Successfully Translated! |
Travelling overseas is an adventurous activity, but we at the same time also worry about the unknown especially when you are visiting countries where they don't speak the same language as you. Hence, this application helps to do speech-to-speech translation in some of the popular languages.
My idea of using Microsoft Cognitive Services, especially Language Understanding Intelligence Service (LUIS) comes from Riza Marhaban's presentation during Microsoft Developer Day at National University of Singapore (NUS) in May 2016.
Riza's Presentation about MS Cognitive APIs
- Build a travel companion app which allows me travelling to Hong Kong and Japan alone and chat with the locals there;
- Understand how to implement Android Speech Recognizer;
- Learn LUIS - Language Understanding Intelligence Service from MS Cognitive Services;
- Play with Japanese VoiceText API which allows emotions in the system generated voices.
Using of "Translate" Intent in LUIS
VoiceText with Cute Voices from Japan
- Android Speech Recognizer
- LUIS (Language Understanding Intelligence Service)
- Google Translate
- VoiceText Web API
- Android TTS (TextToSpeech)
4 API keys in apikeys.xml are needed before you can run and test this application.
- MICROSOFT_COGNITIVE_ID: Getting Started with LUIS
- MICROSOFT_COGNITIVE_SUBSCRIPTION_KEY: Read Creating Subscription Keys via Microsoft Azure
- GOOGLE_TRANSLATE_API_KEY: Google Translate API
- JAPANESE_VOICE_TEXT_API: VoiceText Web API