Upload
eugene-perkins
View
216
Download
0
Embed Size (px)
Citation preview
Creating User Interfaces
Another example. Classwork/homework: work on
VoiceXML project
HTML5 and Accessibility
• http://www.w3.org/Talks/2014/0317-HTML5-A11Y/?utm_source=html5weekly&utm_medium=email– My source for this was a newsletter: HTML5
Weekly: http://html5weekly.com/issues/131
Proposal
• Due today• Level [at least] of rock, paper, scissors or
family greeting– Can use a built-in grammar– Consider use of JavaScript
Caller id and question
• http://faculty.purchase.edu/jeanine.meyer/tellme/callerIDmajor.xml
• Uses session.callerID• Groups of answers• The nomatch condition handled differently
from noinput
Examine code
• Uses say-as element– What do you think it does without this?– Older example split up number into digits
• Group choices of area of interest that have common value– one-of– tag
Possible Improvements
• Improve on say as telephone by breaking up number and saying area code.
• Use an external grammar.• ?
Production system
• Capture name in some way• Invoke server-side code to store phone
number (called ID) and name and area of interest
• Transfer to another number
Mixed initiative
• The VoiceXML feature for handling utterance with more than one result– Example given in tutorial: celebrity and location.
http://help.voxeo.com/go/help/xml.vxml.tutorials.mixed
– Example given in Microsoft tutorial: City and State– Note: can be more than two things.
• Elements: <initial>, <field> and <filled> but in different arrangement, <catch>
Suggestion for mastering mixed initiative
• Study example(s)• Download and upload to your account the
dead celebrity location files. Test.• Change list of people and locations. Test.• Change subject: prompts AND list of people,
locations, filler text.• Add a third field.
Voxeo• It is free!• Documentation and many examples are there.• Problem: website has old documentation (need
to support legacy users). Make sure you are looking at most up-to-date examples.
• Look at: http://help.voxeo.com/go/help/xml.vxml.bestprac.vui
• More?
Classwork/homework
• [proposal]• Work on project– Always look at file source• Confirm latest• Checks [some] errors
– Legal XML may not be legal VoiceXML. Check in the documentation what are valid parent and child elements.
• If system reports internal error, try again. May be timing problem• Do repeat testing!