11
Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

Embed Size (px)

Citation preview

Page 1: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

Creating User Interfaces

Another example. Classwork/homework: work on

VoiceXML project

Page 2: 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

Page 3: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

Proposal

• Due today• Level [at least] of rock, paper, scissors or

family greeting– Can use a built-in grammar– Consider use of JavaScript

Page 4: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

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

Page 5: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

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

Page 6: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

Possible Improvements

• Improve on say as telephone by breaking up number and saying area code.

• Use an external grammar.• ?

Page 7: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

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

Page 8: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

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>

Page 9: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

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.

Page 10: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

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?

Page 11: Creating User Interfaces Another example. Classwork/homework: work on VoiceXML project

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!