e commerce lecture 3
Download
Skip this Video
Download Presentation
E-commerce Lecture 3

Loading in 2 Seconds...

play fullscreen
1 / 19

E-commerce Lecture 3 - PowerPoint PPT Presentation


  • 318 Views
  • Uploaded on

E-commerce Lecture 3 Ravi Raman [email protected] CERC, West Virginia University Sample Code: Tapered Prompts <form id="tapered"> <block> <prompt bargein="false">Welcome to the ice cream survey.</prompt> </block> <field name="flavor"> <grammar>vanilla|chocolate|strawberry</grammar>

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'E-commerce Lecture 3' - jaden


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
e commerce lecture 3

E-commerce Lecture 3

Ravi Raman

[email protected]

CERC, West Virginia University

sample code tapered prompts
Sample Code: Tapered Prompts
  • Welcome to the ice cream survey.
  • vanilla|chocolate|strawberry
  • What is your favorite flavor?
  • Say chocolate, vanilla, or strawberry.
  • Sorry, no help is available.

Source: VoiceXML Forum

contents of forms
Contents of Forms
  • Form items
    • Field items
    • Control items
  • Variable declarations (non-field items)
  • Event Handlers
  • Filled actions
form field items
Form Field Items
  • Field – value to be obtained using speech or keypad input
  • Record – an audio recording of speech input
  • Transfer – transfer to another destination
  • Object – invoke an external object
  • Sub-dialog – invoke a VoiceXML dialog
variables
Variables
  • name – name of variable
  • expr – optional initial value of variable
assign
Assign
  • Assigns a value to a variable
clear
Clear
  • Resets one or more form items
    • Variable is set to undefined
    • Prompt and event counters for those for items are reinitialized
  • Namelist – names of the form items to be reset. Default all form items in current form.
conditional operators
Must be “escaped”

> “>”

< “<”

>=

<=

&&

Typical ECMA operators

!=

==

||

Conditional Operators
grammars
Grammars
  • Speech Grammars
  • DTMF Grammars (keypad input)
speech grammars
Speech Grammars
  • Specifies speech input and corresponding actions
  • Grammar Formats
    • Java Speech API Grammar Format (JSGF)
  • Inline or External File
speech grammars12
Speech Grammars
  • External File
  • Inline
    • genie
      • Exit | finished | over | end | stop | done
multilingual phonetics
Multilingual Phonetics
  • The International Phonetic Association
  • http://www2.arts.gla.ac.uk/IPA/ipa.html
menus
Menus
  • Simple form with one anonymous field
  • Prompts user for selection
  • Executes action based on user’s choice
sample menu
Sample Menu
  • Welcome home. Say one of:
  • Sports
  • Weather
  • Stargazer astrophysics news
  • Please say one of
menu with dtmf
Menu with DTMF
  • Welcome home.
  • For , press .
  • sports
  • weather
  • Stargazer astrophysics news
motorola development tools
Motorola Development Tools
  • www.motorola.com/developers/wireless/tools/
    • Click on link for Mobile Application Development Kit
    • Need to register to download tools (link at bottom of page)
  • After registration,
    • login (enable cookies in browser)
    • Download and install Motorola IDE using link at top of the MIX Mobile ADK Downloadpage
    • Fill in rest of form and download Mobile ADK
    • Install Motorola IDE before installing the Mobile ADK
motorola demos
Motorola Demos
  • Motorola IDE
  • MADK Simulator
e commerce lecture 319

E-commerce Lecture 3

Ravi Raman

[email protected]

CERC, West Virginia University

ad