Voice Application Development for Android

Voice Application Development for Android
eBook: $21.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $58.98    Print cover: $36.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • A comprehensive guide containing all the best practices for voice application development for Android
  • Progress quickly from basic apps to more advanced topics
  • Written in an easy-to-follow style with detailed descriptions of the included code examples to help you learn quickly and efficiently
  • You can download the updated code here

Book Details

Language : English
Paperback : 134 pages [ 235mm x 191mm ]
Release Date : November 2013
ISBN : 178328529X
ISBN 13 : 9781783285297
Author(s) : Michael F. McTear, Zoraida Callejas
Topics and Technologies : All Books, Application Development, Mobile Application Development, Open Source

Table of Contents

Chapter 1: Speech on Android Devices
Chapter 2: Text-to-Speech Synthesis
Chapter 3: Speech Recognition
Chapter 4: Simple Voice Interactions
Chapter 5: Form-filling Dialogs
Chapter 6: Grammars for Dialog
Chapter 7: Multilingual and Multimodal Dialogs
Chapter 8: Dialogs with Virtual Personal Assistants
Chapter 9: Taking it Further
  • Chapter 1: Speech on Android Devices
    • Using speech on an Android device
      • Speech-to-text
      • Text-to-speech
      • Voice Search
      • Android Voice Actions
      • Virtual Personal Assistants
    • Designing and developing a speech app
    • Why Google speech?
    • What is needed to create a Virtual Personal Assistant?
    • Summary
    • Chapter 2: Text-to-Speech Synthesis
      • Introducing text-to-speech synthesis
      • The technology of text-to-speech synthesis
      • Using pre-recorded speech instead of TTS
      • Using Google text-to-speech synthesis
        • Starting the TTS engine
      • Developing applications with Google TTS
        • TTSWithLib app – Reading user input
        • TTSReadFile app – Reading a file out loud
      • Summary
      • Chapter 3: Speech Recognition
        • The technology of speech recognition
        • Using Google speech recognition
        • Developing applications with the Google speech recognition API
          • ASRWithIntent app
          • ASRWithLib app
        • Summary
          • Chapter 5: Form-filling Dialogs
            • Form-filling dialogs
            • Implementing form-filling dialogs
            • Threading
            • XMLLib
            • FormFillLib
              • VXMLParser
              • DialogInterpreter
            • MusicBrain app
            • Summary
            • Chapter 6: Grammars for Dialog
              • Grammars for speech recognition and natural language understanding
              • NLU with hand-crafted grammars
              • Statistical NLU
                • NLULib
                • Processing XML grammars
                • Processing statistical grammars
              • The GrammarTest app
              • Summary
                • Chapter 8: Dialogs with Virtual Personal Assistants
                  • The technology of VPA
                    • Determining the user's intention
                  • Making an appropriate response
                  • Pandorabots
                    • AIML
                      • Using oob tag to add additional functions
                  • The VPALib library
                  • Creating a Pandorabot
                  • Sample VPAs – Jack, Derek, and Stacy
                    • Alternative approaches
                  • Summary

                    Michael F. McTear

                    Michael McTear is Emeritus Professor of Knowledge Engineering at the University of Ulster with a special research interest in spoken language technologies. He graduated in German Language and Literature from Queens University Belfast in 1965, was awarded MA in Linguistics at University of Essex in 1975, and a PhD at the University of Ulster in 1981. He has been Visiting Professor at the University of Hawaii (1986-87), the University of Koblenz, Germany (1994-95), and University of Granada, Spain (2006- 2010). He has been researching in the field of spoken dialogue systems for more than 15 years and is the author of the widely used text book Spoken Dialogue Technology: Toward the Conversational User Interface (Springer Verlag, 2004). He also is a co-author of the book Spoken Dialogue Systems (Morgan and Claypool, 2010). Michael has delivered keynote addresses at many conferences and workshops, including the EU funded DUMAS Workshop, Geneva, 2004, the SIGDial workshop, Lisbon, 2005, the Spanish Conference on Natural Language Processing (SEPLN), Granada, 2005, and has delivered invited tutorials at IEEE/ACL Conference on Spoken Language Technologies, Aruba, 2006, and ACL 2007, Prague. He has presented on several occasions at SpeechTEK, a conference for speech technology professionals, in New York and London. He is a certified VoiceXML developer and has taught VoiceXML at training courses to professionals from companies including Genesys, Oracle, Orange, 3, Fujitsu, and Santander. He was the main developer of the VoiceXML-based home monitoring system for patients with type-2 diabetes, currently in use at the Ulster Hospital, Northern Ireland.

                    Zoraida Callejas

                    Zoraida Callejas is Assistant Professor at the University of Granada, Spain, where she has been teaching several subjects related to Oral and Multimodal Interfaces, Object Oriented Programming, and Software Engineering for the last eight years. She graduated in Computer Science in 2005, and was awarded a PhD in 2008 from the University of Granada. She has been Visiting Professor in Technical University of Liberec, Czech Republic (2007-13), University of Trento, Italy (2008), University of Ulster, Northern Ireland (2009), Technical University of Berlin, Germany (2010), University of Ulm, Germany (2012), and Telecom ParisTech, France (2013). Zoraida focuses her research on speech technology and in particular, on spoken and multimodal dialogue systems. Zoraida has made presentations at the main conferences in the area of dialogue systems, and has published her research in several international journals and books. She has also coordinated training courses in the development of interactive speech processing systems, and has regularly taught object-oriented software development in Java in different graduate courses for nine years. Currently, she leads a local project for the development of Android speech applications for intellectually disabled users.

                    Code Downloads

                    Download the code and support files for this book.

                    Submit Errata

                    Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                    Sample chapters

                    You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                    Frequently bought together

                    Voice Application Development for Android +    PhoneGap 3.x Mobile Application Development Hotshot =
                    50% Off
                    the second eBook
                    Price for both: $39.05

                    Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                    What you will learn from this book

                    • Use text-to-speech synthesis so that your device can talk to you
                    • Enable your device to recognize your speech
                    • Create simple voice interactions to get information and carry out commands
                    • Develop a voice app that engages in a dialogue with you to collect the information required to perform a transaction
                    • Use grammars to enable your app to understand the meaning behind your words
                    • Make use of different languages in your apps
                    • Add multimodal interaction to your apps as an alternative to speech
                    • Build a voice-based personal assistant using an open source development platform for chatbots

                    In Detail

                    Speech technology has been around for some time now. However, it has only more recently captured the imagination of the general public with the advent of personal assistants on mobile devices that you can talk to in your own language. The potential of voice apps is huge as a novel and natural way to use mobile devices.

                    Voice Application Development for Android is a practical, hands-on guide that provides you with a series of clear, step-by-step examples which will help you to build on the basic technologies and create more advanced and more engaging applications. With this book, you will learn how to create useful voice apps that you can deploy on your own Android device in no time at all.

                    This book introduces you to the technologies behind voice application development in a clear and intuitive way. You will learn how to use open source software to develop apps that talk and that recognize your speech. Building on this, you will progress to developing more complex apps that can perform useful tasks, and you will learn how to develop a simple voice-based personal assistant that you can customize to suit your own needs.

                    For more interesting information about the book, visit http://lsi.ugr.es/zoraida/androidspeechbook


                    This book will give beginners an introduction to building voice-based applications on Android. It will begin by covering the basic concepts and will build up to creating a voice-based personal assistant. By the end of this book, you should be in a position to create your own voice-based applications on Android from scratch in next to no time.

                    Who this book is for

                    Voice Application Development for Android is for all those who are interested in speech technology and for those who, as owners of Android devices, are keen to experiment with developing voice apps for their devices. It will also be useful as a starting point for professionals who are experienced in Android application development but who are not familiar with speech technologies and the development of voice user interfaces. Some background in programming in general, particularly in Java, is assumed.

                    Code Download and Errata
                    Packt Anytime, Anywhere
                    Register Books
                    Print Upgrades
                    eBook Downloads
                    Video Support
                    Contact Us
                    Awards Voting Nominations Previous Winners
                    Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                    Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software