Introduction to VXML. What is VXML? Voice Extensible Markup Language Used in telephone-based speech applications voice browsing of the web.

Slides:



Advertisements
Similar presentations
Project 8 Creating Style Sheets.
Advertisements

Voice Guidelines 1© 2013 by Larson Technical Services.
Expert System Human expert level performance Limited application area Large component of task specific knowledge Knowledge based system Task specific knowledge.
The State of the Art in VoiceXML Chetan Sharma, MS Graduate Student School of CSIS, Pace University.
1 Lab Session-I (A and B) CS-120 Fall 2000 Using Windows Using An Editor Using Visual C++ Using Compiler Writing and Running Programs Lab-1 DUE Fri September.
1 Lab Session-I CSIT120 Spring2001 Using Windows Using An Editor Using Visual C++ Using Compiler Writing and Running Programs Lab-1 continues (Session.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Creating a Web Page HyperText Markup Language. HTML Documents  Created using any text editor  Notepad  Vi, Pico, or Emacs  If using word-processor,
HTML Introduction HTML
Programming Fundamentals (750113) Ch1. Problem Solving
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Creating a Web Page HTML, FrontPage, Word, Composer.
How Do I Find a Job to Apply to?
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web Web.
Systems Analysis and Design in a Changing World, 6th Edition
Systems Analysis and Design in a Changing World, 6th Edition
VoiceXML Builder Arturo Ramirez ACS 494 Master’s Graduate Project May 04, 2001.
Editing Your Paper.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
Amber Annett David Bell October 13 th, What will happen What is this business about personal web pages? Designated location of your own web page.
Chapter 2 Creating a Research Paper with References and Sources
Web page - A Web page is a simple text file that contains a set of HTML tags (code) that describe (to the browser) what should go on a web page. It may.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
VoiceXML: Forms, Menus, Grammars, Form Interpretation Algorithm.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
IPC144 Introduction to Programming Using C Week 1 – Lesson 2
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 XML is designed to describe data and to focus on what data is. HTML is designed to display data and to focus on how data looks.  XML is created to structure,
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
College Essay What’s the Point? What Do I Write About?
How do I use HTML and XML to present information?.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Productivity Programs Common Features and Commands.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
User Support Chapter 8. Overview Assumption/IDEALLY: If a system is properly design, it should be completely of ease to use, thus user will require little.
Hello World in the Forte IDE An introduction to the Forte IDE (integrated development environment) writing the classic “Hello World” program in Java.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Introduction to XML This presentation covers introductory features of XML. What XML is and what it is not? What does it do? Put different related technologies.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
INTRODUCTION TO CSS. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features of CSS Features of CSS  Creating Style Sheet Creating Style Sheet.
6+1 Writing Traits Fluency … writing sentences that sing.
Web Site Design & Management Class One Agenda Attendance Questionnaire Introductions Class Policies About the class Code your first page FTP Assignments.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
 2008 Pearson Education, Inc. All rights reserved JavaScript: Introduction to Scripting.
Student Pages
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Page Layout You can quickly and easily format the entire document to give it a professional and modern look by applying a document theme. A document theme.
Additional Features in Microsoft Word Session Version 1.0 © 2011 Aptech Limited.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Getting Started with HTML. HTML  Hyper Text Markup Language  HTML isn’t a program language, its known as a markup language  A Markup language has tags.
Proofing Documents Lesson 9. Validating Content By Using Spelling and Grammar Checking Options It is a good business practice to proof a document to ensure.
Speech Processing 1 Introduction Waldemar Skoberla phone: fax: WWW:
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
Section 10.1 Define scripting
Excel Tutorial 8 Developing an Excel Application
Introduction to HTML.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Step-by-Step: Check Spelling and Grammar
Metadata Editor Introduction
Instructor: Prasun Dewan (FB 150,
Accessibility Separate semantics from style
Using Cascading Style Sheets (CSS)
Creative Project Revised 3/02
Presentation transcript:

Introduction to VXML

What is VXML? Voice Extensible Markup Language Used in telephone-based speech applications voice browsing of the web

How does VXML work? Two main components tags -- control what the program does grammars -- control what speech is recognized; what the user can say

Basic VXML tags -- defines a VXML application -- basic component of a dialog -- says something to the user -- holds information supplied by user -- defines what user can say -- what to do once user says something

VXML Hierarchy contains one or more may contain one or more and does contain one or more contains one or more but one and only one and an optional

Execution is linear unless you tell it otherwise

Example 1

Tony’s Tips #1 All files must end with the extension.vxml Use a simple editor such as Notepad or the editor provided by BeVocal. Do not use Word -- it tends to add extra hidden formatting All tags occur in pairs (e.g., and ) When using avoid punctuation and capitalization

VXML Grammars Two types of grammars Programmer specified -- you decide what can be said Built-in or pre-defined Two tags related to grammars -- what can be said -- what to do once you recognize something

Built-in Grammars OK

Example 2a

Example 2b

Recognizing phrases Single words [news sports weather exit] phrases (i want the news) Combined ((i want the) [news sports]) ((i want the) [news sports (home section)]) Saying something optional (?(i want the) [news sports] ?please)

Using slots Problem: holds entire phrase that is recognized would have to write a separate rule for each possible phrase (i.e., the vocabulary problem) Slots are a useful shortcut when recognizing phrases ((i want the) [news sports (home section)]) ((i want the) [news { } sports { } (home section) { }])

Example 2c These are the slots This goes to another field unless paying by check

More on grammars Grammars do not have to be defined directly in vxml file can be defined in a separate file with.gsl extension (see example 3)

Tony’s Tips #2 avoid capitalizing words or using punctuation when defining a grammar Use built-in grammars whenever possible Use slots when trying to recognize phrases Use a separate grammar file if certain things will be recognized repeatedly (e.g. example 3)

So far... The metaphor is VXML as a form Dialog is overdetermined (i.e., the system is in control)

What about...

Design considerations Main menu people menu Undergrad menu Grad menu

Design considerations Main menu people menu Undergrad menu Grad menu

Design considerations Main menu people menu Undergrad menu Grad menu

Example 3

Example 4 Main menu people menu Undergrad menu Grad menu ex4_psych.vxml ex4_undergr.vxmlex4_grad.vxmlex4_people.vxml grammar psychology.gsl

Tony’s Tips #3 When using external grammars the rule name must start with a capital letter and is case sensitive (e.g., Fish is different from FISH) Plan first, then write code Break the project into pieces Test each small piece individually then combine

Adding flexibility Handling speech recognition errors Handling long periods of silence Help Repeating Exiting/Hanging up gracefully

Adding flexibility Given/new information (e.g., emphasis) This implementation of VXML does not allow you to change emphasis despite having tags and

You can get this correct

Additional options Change the timeout length Say as feature Ex. system can say a series of numbers in “telephone style” Use pre-recorded sounds (i.e.,.wav files) Change the voice

Tony’s Tips #4 Start early Reuse code -- don’t reinvent the wheel Put comments in your code If you get stuck ask someone for help See Tony’s Tips 1-3

FUll flow chart Example 3/4