Introducing the HTML5 Web Speech API your practical introduction to adding browser-based speech capabilities to your websites and online applications

Leverage the power of HTML5 Web Speech API to quickly add voice capabilities to your websites. This project-oriented book simplifies the process of setting up and manipulating the API in the browser using little more than a text editor or free software. You'll be presented with a starting tools...

Full description

Bibliographic Details
Main Author: Libby, Alex
Format: eBook
Language:English
Published: Berkeley, CA Apress L.P. 2020
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Table of Contents:
  • Chapter 4: Combining the APIs: Building a Chatbot
  • Why use a chatbot?
  • Things to consider when building a chatbot
  • Downsides to bots
  • Different types of chatbots
  • Setting the background
  • Keeping things in scope
  • Architecting our demo
  • Alternative tools available
  • Adding text editor support
  • Getting tools in place
  • Building our chatbot
  • Configuring our chatbot
  • Exploring the code in detail
  • Dissecting our HTML markup
  • Pulling apart script.js: The Web Speech API
  • Understanding how our bot is configured
  • Exploring how RiveScript works: A summary
  • Dissecting the brain.rive file in detail
  • Taking things further
  • Adding language support
  • Updating our demo
  • Dissecting the code
  • Summary
  • Chapter 5: Project: Leaving Review Feedback
  • Setting the scene
  • Keeping things in scope
  • Architecting our demo
  • Building our review panel
  • Breaking apart the code in detail
  • Exploring the HTML
  • Exploring the JavaScript
  • Adding it to a product page
  • Adding language support
  • Updating the demo
  • Dissecting the code
  • Leaving reviews: A postscript
  • Taking things further
  • Summary
  • Chapter 6: Project: Building Alexa
  • Supporting the Speech Synthesis API
  • Breaking down the numbers
  • Supporting the Speech Recognition API
  • Understanding the numbers
  • A couple of prerequisites
  • Checking support for the APIs
  • Determining space available
  • Setting available space using code
  • Configuring Chrome's Responsive Mode
  • Implementing the Speech Synthesis API
  • Adapting design for mobile
  • Implementing the Speech Recognition API
  • Adapting for mobile use
  • Putting it together: A practical example
  • Dissecting the code in detail
  • Working with mobile: An epilog
  • Summary
  • Includes bibliographical references and index
  • Understanding the API terminology
  • Exploring the Speech Synthesis API
  • Breaking apart the API
  • Improving our SpeechSynthesis demo
  • Dissecting our code
  • Exploring the Speech Recognition API
  • Breaking apart the API
  • Updating our SpeechRecognition demo
  • Understanding the code
  • Creating a more practical example
  • Exploring the code in detail
  • Going multilingual
  • Exploring support for languages
  • Setting a custom language
  • Breaking apart our code
  • The difference between language and dialect
  • Making use of grammar objects
  • Summary
  • Chapter 3: Supporting Mobile Devices
  • Intro
  • Table of Contents
  • About the Author
  • About the Technical Reviewer
  • Acknowledgments
  • Introduction
  • Chapter 1: Getting Started
  • Introducing the APIs
  • Setting up our development environment
  • Implementing our first examples
  • Reading back text as speech
  • Understanding what happened
  • Converting speech to text
  • Allowing access to the microphone
  • Setting access: An alternative method
  • Breaking apart our code
  • Allowing for browser support
  • Providing fallback support
  • Understanding security concerns
  • Summary
  • Chapter 2: Exploring the APIs in More Detail