New challenge: telephone Text To Speech & audio Speech recognition VoiceXML Homework: sign up on studio.tellme.com.

Slides:



Advertisements
Similar presentations
Introducing JavaScript
Advertisements

A complete citation, notecard, and outlining tool
XML and JavaScript Introduction. XML Brief Introduction:- 1) Understanding XML Documents:- An XML document is comprised of one or more named elements.
The Web Warrior Guide to Web Design Technologies
Substitute FAQs SubFinder Overview. FAQs Do I have to have touch-tone service to use SubFinder? No, but you do need a telephone that can be switched from.
Do you suffer from judgement creep? A group moderation session will soon put you right!
The State of the Art in VoiceXML Chetan Sharma, MS Graduate Student School of CSIS, Pace University.
Working with JavaScript. 2 Objectives Introducing JavaScript Inserting JavaScript into a Web Page File Writing Output to the Web Page Working with Variables.
VoiceXML and Internet Telephony Kundan Singh and Henning Schulzrinne Columbia University Joint work (in progress) with Daniel,
10 November JavaScript. Presentation Hints What do YOU think makes a good presentation Some of my suggestions Don’t write full sentences on slides Talk,
Introduction to VXML. What is VXML? Voice Extensible Markup Language Used in telephone-based speech applications voice browsing of the web.
XP 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial 10.
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
VoiceXML Basic COCOMO Calculator By Greg Kutcher.
AP Spanish Language & Culture Exam Format. Exam – May 6, 2014 A.M. Make-up exam – Weds., May 21, P.M.** Duration – about 3 ½ hours with a silent 10 minute.
How Do I Find a Job to Apply to?
VoiceXML Builder Arturo Ramirez ACS 494 Master’s Graduate Project May 04, 2001.
Beginner Session #1 UNCLASSIFIED Shaunya Murrill/IMCOM, 1 of 24 eArmy Family Messaging System Webinar Training Webinar Training.
Beyond Usability: Measuring Speech Application Success Silke Witt-Ehsani, PhD VP, VUI Design Center TuVox.
JavaScript, Fifth Edition Chapter 1 Introduction to JavaScript.
Programming for Artists ART 315 Dr. J. R. Parker Art/Digital Media Lab Lec 8 Fall 2010.
Programming Games Basic HTML5 audio example. Catch-up. Work on basic video. Homework: Complete basic video.
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.
SYST Web Technologies SYST Web Technologies Lesson 6 – Intro to JavaScript.
Invitation to Computer Science, Java Version, Second Edition.
VoiceXML: Forms, Menus, Grammars, Form Interpretation Algorithm.
PHP meets MySQL.
Employee FAQs SubFinder Overview. FAQs Do I have to have touch-tone service to access the SubFinder system? No, but you do need a telephone that can be.
1 Project Information and Acceptance Testing Integrating Your Code Final Code Submission Acceptance Testing Other Advice and Reminders.
Client Side Programming with JavaScript Why use client side programming? Web sides built on CGI programs can rapidly become overly complicated to maintain,
VoiceXML continued Speech reco/speech synthesis recap rps example ( ) Homework: Do VoiceXML examples. Start planning Project 2.
Documentation and Comments. What’s a comment? A comment is a simple form of documentation. Documentation is text that you the programmer write to explain.
1 JavaScript in Context. Server-Side Programming.
XP Tutorial 10New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with JavaScript Creating a Programmable Web Page for North Pole.
TUTORIAL 10: PROGRAMMING WITH JAVASCRIPT Session 2: What is JavaScript?
A Dialogue System for Robots using VoiceXML Louise Funke & Marc Bauer 2007/12/11 EDA171/DATN06 Language Processing and Computational Linguistics Pierre.
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.
Creating User Interfaces [Continue presentations as needed] Speech recognition. Speech synthesis Homework: Report on current products. Register on Tellme.
XP Tutorial 10New Perspectives on HTML and XHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial.
STAYING SAFE: Here are some safety tips when using Change your password regularly and keep it in a safe place. Don’t share your password with anyone.
Creating User Interfaces Directed Speech. XML. VoiceXML Classwork/Homework: Sign up to be Voxeo developer. Do tutorials.
《 Professional English for Secretaries 》 Unit 2 Phone Calls Handling Task 4 Taking a phone message 1.
Creating Web Documents catch-up JavaScript slide show tools redirection.
Mr. John Rouda
How to Create an Address How to Create a Free Account, Read and Answer your s. Yahoo! provides FREE . To create a free .
1 CSC160 Chapter 7: Events and Event Handlers. 2 Outline Event and event handlers onClick event handler onMouseOver event handler onMouseOut event handler.
Student Pages
1 JavaScript in Context. Server-Side Programming.
Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project.
Adapting Language to Different Listeners How spoken language is adapted to different listeners … L.O: To consider how I use spoken language and how it.
Class 3Intro to Databases Class 4 Simple Example of a Database We’re going to build a simple example of a database, which will allow us to register users.
Creating Web Documents: JavaScript Ftp / file management: review Introduction to JavaScript Sources Homework: start review for midterm, work on Project.
Weekly Net Control Review of Net Control tasks and resources for Monday night Net. by Madeline Lombaerde, KD6JTU.
Creating interfaces Multi-language example Definition of computer information system VoiceXML example Project proposal presentations Homework: Post proposal,
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
Introduction to Javascript. What is javascript?  The most popular web scripting language in the world  Used to produce rich thin client web applications.
Creating User Interfaces VoiceXML. Examples. Classwork/Homework: Make proposal and start work on your VoiceXML project.
Javascript Basic Concepts Presentation By: Er. Sunny Chanday Lecturer CSE/IT RBIENT.
XP Tutorial 10New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties.
© 2010 Robert K. Moniot1 Chapter 6 Introduction to JavaScript.
Introduction to JavaScript MIS 3502, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 9/29/2016.
VoiceXML Tutorial: Part 1 Introduction and User Interaction with DTMF
JavaScript is a programming language designed for Web pages.
Intro to PHP & Variables
Introduction to JavaScript
A second look at JavaScript
Creating User Interfaces
Introduction to JavaScript
JavaScript Basics What is JavaScript?
Creating User Interfaces
Presentation transcript:

New challenge: telephone Text To Speech & audio Speech recognition VoiceXML Homework: sign up on studio.tellme.com

Telephone Caller to system: speech recognition, –using grammars (limited vocabulary, general audience, no training) –optional use of touch tones (numbers) System to caller: recorded audio (wav files) plus TTS (text to speech) Limited bandwidth, in comparison to other applications, but very familiar, ubiquitous medium 800 long distance, some airline information systems, others?

Problems in context Speech recognition: very difficult if –no restrictions on speakers –grammar for all of English with aim of 'natural language understanding' Text to speech: much easier problem (but English is more difficult than more fully phonetic languages like Spanish. (I've been told.) (More next class)

studio.tellme.com Company that provides ‘engine’ for applications Provides developing environment –We are doing the tellme version of VoiceXML, but it appears to be standard. Register as a developer: –Provide your own id; assigned a PIN –Scratchpad for quick testing Put VoiceXML in ScratchPad place (no audio files) VXML (8965) –SAY id and then PIN. –Application URL for projects with multiple files To look at someone else's project, you change your Application URL –called pointing your account to a new source.

VoiceXML XML document (VXML header) VoiceXML has tags for flow-of-control and calculations. –Also can use for JavaScript Grammars come in different varieties. We will use the tellme way. –Grammars are included in CDATA tags to prevent XML interpretation. –Many grammars constructed for you. … will listen for yes or no. … will listen for currency. – for list

VoiceXML basics, continued element can contain – elements, which can contain,, other – which can contain (if not one of built-in grammars) tags can be at different levels (for example, document, block, or higher levels) tags elements for JavaScript (which can also appear in expressions>

VoiceXML basics: typical case a form element –, made up of, with reference to recorded wav file and backup text, if NOT using built-in grammars designated by type attribute of field. This is a CDATA section. with (follow-on) code using field for nomatch, noinput cases

Caution A form contains various elements, including a field. If a field has a grammar and the grammar is satisfied, control goes to a filled tag

obligatory… Hello, world recorded using tellme studio backup using TTS, just in case src file missing

Preparation: objects JavaScript (and other languages) use classes and objects Objects (aka object instances) are declared (created, instantiated) as members of a class Objects have –properties ('the data') –methods (functions that you can use 'on' the objects) –static methods Math.random

Example: tm_date var dt = new tm_date; creates a date/time object. Use methods to extract/manipulate information held 'in' dt. var day = dt.get_day(); Use static methods supplied to do common tasks: var dn=tm_date.to_day_of_week_name(day); or directly: var dn=tm_date.to_day_of_week_name(dt.get_day());

outline Header stuff script with external reference script (code) encased in CDATA notation Form/Block, with text to speech using value produced by script Closing stuff

<script src=" /tm_date.js"/> Will make use of data functions

<![CDATA[ var dt = new tm_date(); var monis = tm_date.to_month_name(dt.get_month()); var dateis = dt.get_date(); var dayis = tm_date.to_day_of_week_name(dt.get_day( )); var yearis = tm_date.to_year_name(dt.get_full_year() ); var houris= dt.get_hours() - 4; var minutesis=dt.get_minutes() var whole = 'The date is '+ monis+' '+dateis+'. It is ' + dayis+'. The time is ' + houris + ' ' + minutesis; ]]> brute force correction from GMT

Hello. Good bye. Can use block for audio

Example: my family Directed responses to 3 family members: – Daniel, question/response on activities –Aviva, question/response on number of cranes –Esther response Calculations (arithmetic) done using variables if tags –The cond attribute is a condition test. limited error handled: exit on no-match event –alternative is to repeat prompt, generally using count attribute

Hello. Who is calling?

<![CDATA[ [ [dan daniel (daniel meyer) (dan meyer)] { } [aviva (aviva meyer)] { } [esther (esther minkin) ] { } ] ]]>

Sorry. I didn't get that. never happens Note inner, single quote marks. Note double ='s

Congratulations on the new job. Did you work on your thesis, or do aikido or jo today? <![CDATA[ [ [aikido (i key dough)] { } [thesis (work)] { } [jo (joe) ] { } [both (all) (everything) ((i key dough) jo)]{ } [none nothing (sort of)] { } ] ]]> I didn't quite understand. Call or send .

Some aikido is fine. Good, but do other things also. don't get hit in the head. Doing some of everything is best. You deserve a break, but remember you want to be done by September. See you soon. Good bye

Hello, Aviva. How many cranes have you made? <![CDATA[ NATURAL_NUMBER_THRU_9999 ]]> Sorry. I didn't get that.

to go. You're in the home stretch More than half way Off to a good start Get a move on Good bye. can't use <

Hello, Mommy. This is all I can do now.

Application logic VoiceXML elements (for example, and. –Note: more powerful than XSLT: tag JavaScript code in attributes (for example, cond, expr) JavaScript code in –Encase in CDATA to avoid problems with certain characters external JavaScript code, cited using

Class work EVERYONE (who hasn't already) signup studio.tellme.com tonight Design simple application (you may work in groups): –Ask one question –Detect and respond to each of 2 or 3 answers –Use examples here for models –All text to speech Pick (at least) one and implement. (Do this a short time and then go on to next lecture. Resume after 9pm when minutes are free.)

Homework (Majors requirement overdue: there will be a deduction but better late than never.) Go to studio.tellme.com & signup as developer. –try examples (using scratch pad) –record some voice samples –do tellme tutorials ALSO try and report on –800 long distance or some other commercial application