1 / 37

Voice Composer: A Development Tool for Voice Applications

Voice Composer: A Development Tool for Voice Applications. Yi-Xuan Li and Nai-Wei Lin Department of Computer Science & Information Engineering National Chung Cheng University. Outline. Motivations Related work The architecture of Voice Composer The visual programming editor

Télécharger la présentation

Voice Composer: A Development Tool for Voice Applications

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Voice Composer:A Development Tool for Voice Applications Yi-Xuan Li and Nai-Wei Lin Department of Computer Science & Information Engineering National Chung Cheng University

  2. Outline • Motivations • Related work • The architecture of Voice Composer • The visual programming editor • The program generator • A case study • Conclusion

  3. Motivations • Prevalence of mobile voice devices requests rapid development and maintenance of voice applications • Eye-disabled people requests convenient accesses of information and services via voice devices • Current development tools for voice applications still have enough rooms for improving

  4. Voice XML Voice XML gateway interpreter Internet call processor ASR Voice XML document PSTN TTS

  5. Dialog Flow

  6. Current Tools • Voice XML editors • syntax-directed editing • Dialog wizards • programming with dialog components • Visual dialog flow editors • visual programming of dialog components

  7. The Architecture of Voice Composer Database Integrator Dialog Flow Editor Program Generator Simulator Dialog Component Builder Visual Programming Editor

  8. Database Integrator • Database Integrator is based on ODBC, and maintains database schemas and database connection information database schemas database connection

  9. Dialog Components • Builtin dialog components • start、exit、PHP、SQL、Menu、link • User-defined dialog components • leaf components • root components: global variables and events • subdialog components

  10. An Example press ’#’ menu 1.repeat 2.exit read article menu 1.article 2.music 3.exit menu 1.repaet 2.exit play music press ’#’

  11. BuildNew Dialog Components • Builtin dialog components used • start、exit、Menu • New dialog components • Two leaf components • Read article • Play music • A root component • A global event: return to the main menu when pressing ’#’ key

  12. Dialog Component Builder Selected Element Attributes Exposed Attributes Dialog Component Tree

  13. Play Music Dialog Component Attributes

  14. Play Music Dialog Component Exposed Attributes

  15. New Dialog Components

  16. Dialog Flow Editor link commands builtin user-defined exposed attributes description

  17. Editing Root Component exposed attributes

  18. Editing Main Menu Component exposed attributes

  19. Editing Read Article Component exposed attributes

  20. Editing Play Music Component exposed attributes

  21. Editing Menu I Component exposed attributes

  22. Editing Menu II Component exposed attributes

  23. Program Generator • Translation of builtin dialog components • Translation of user-defined dialog components

  24. Translation of Builtin Components

  25. Translation of Builtin Components Menu_prompt <?xml version="1.0" encoding="Big5"?> <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"> <menu> <prompt>這是一個範例測試,選 1,聽文章, 選 2,聽音樂,選 3,離開</prompt> <choice dtmf="1" next="link-1.vxml">聽文章</choice> <choice dtmf="2" next="link-2.vxml">聽音樂</choice> <choice dtmf="3" next="exit.vxml">離開</choice> </menu> </vxml> dtmf-1 string-1

  26. Translation of User-Defined Components Voice XML PHP Tree Conversion Xerces PHP Conversion Dialog Component Tree DOM Tree

  27. An Example

  28. Dialog Component Tree

  29. Tree Conversion • Conversion of external variables • Conversion of grammars • Conversion of SQL commands

  30. vxml SQL_process() var form name=question field prompt grammar Grammar_process() prompt 請選擇是或是否 expr=question filled cont=”yesno=’yes’” if else goto goto next=A.vxml next=B.vxml Conversion of External Variables

  31. Conversion of Grammars

  32. Conversion of SQL Commands

  33. Voice XML Generation

  34. Conversion of PHP files

  35. Case Study

  36. Case Study • System analysis: 4 hours • Database construction: 2 hours • User-defined component construction (4): 1 hour • Dialog flow editing (13): 0.5 hour • 124 Voice XML or PHP files are generated

  37. Conclusion • Voice Composer is a development tool for voice applications • Voice Composer supports visual programming of dialog flows • Voice Composer supports extension for user-defined dialog component construction • Voice Composer supports extension for database programming

More Related