developer.com
Search EarthWeb
CodeGuru | Gamelan | Jars | Wireless | Discussions
Navigate developer.com
Architecture & Design  
Database  
Java
Languages & Tools
Microsoft & .NET
Open Source  
Project Management  
Security  
Techniques  
Voice  
Web Services  
Wireless/Mobile
XML  
Technology Jobs  

   Developer.com Webcasts:
  The Impact of Coding Standards and Code Reviews

  Project Management for the Developer

  Defining Your Own Software Development Methodology

  more Webcasts...




See the Winners!


Developer Jobs

Be a Commerce Partner
Cell Phones
Computer Hardware
Remote Online Backup
Promos and Premiums
Condos For Sale
Memory Upgrades
Logo Design
Promotional Products
Corporate Gifts
Holiday Gift Ideas
Career Education
Televisions
Server Racks
Corporate Awards

 
PDAs
PC Notebooks
Printers
Monitors


Web Devs:
Moonlight as a Game Developer and Win Cool Prizes by Accepting the RIA Run Challenge

Now, your mission--should you choose to accept: Take your shot at gaming stardom if you think you might have what it takes to build a cool RIA game and you could win an Xbox 360 or other fabulous prizes. Hurry! You only have until May 15, 2008 to enter. »

 
Article:
Leveraging Your Flash Development with Silverlight

You're not giving up Flash any time soon (and we don't blame you.) But if you could get your Flash application working in Silverlight, why wouldn't you? We show you the tools and techniques required to have your rockin' Flash application rolled for Silverlight. Learn more here. »

 
Article:
What Does it Take to Build the Best RIA?

With the proliferation of Rich Interactive Application (RIA) platform choices out there, you no longer have to take a one-size-fits-all approach to developing your next RIA application. Knowing the strengths (and weaknesses) of each platform can help you to decide the best RIA for your next application. »

 
Developer News -
SaaS Tool Offers Custom Database Development    May 9, 2008
Microsoft’s Automated Agent: Can We Talk?    May 7, 2008
Borland Finally Sells CodeGear    May 7, 2008
Red Hat Heads For The JON 2.0    May 7, 2008
Free Tech Newsletter -

Best Practices for Developing a Web Site: Checklists, Tips, Strategies & More. Download Exclusive eBook Now.

VoiceXML 2.0 Grammars, Part I
By Jonathan Eisenzopf

Go to page: 1  2  Next  

This technical series will provide programmers with a complete introduction to the VoiceXML 2.0 grammar format. In part I, we will discuss the XML and ABNF formats, as well as the structure and elements included in a VXML 2.0 document.

Overview

Grammars define the words and sentences (or touch-tone DTMF input) that can be recognized by a VoiceXML application. One big drawback of VoiceXML 1.0 was that it lacked a standard speech recognition grammar format. To some degree, this reduced the benefits of the specification because it left the burden on VoiceXML browser developers to define the grammar language and format. For example, application grammars written for Nuance Voice Web Server would have to be re-written to work on IBM Voice Server. This problem was rectified with the Speech Recongition Grammar Specification (SRGS) introduced by the W3C Voice Browser group in conjunction with the VoiceXML 2.0 specification.

XML or ABNF?

The VoiceXML 2.0 grammar specification provides two text formats for writing speech recognition grammars: XML or ABNF. XML is a Web standard for representing structured data. Many programming and editing tools incorporate XML editing and processing capabilities. These XML tools can be used to write VoiceXML 2.0 grammars. ABNF stands for Augmented Bacus-Naur Form, and is a format used to specify languages, protocols and text formats. For example HTTP, the communications protocol used on the World Wide Web (and for VoiceXML applications), is specified in ABNF format.

The ABNF grammar format uses special characters to define grammar expressions in a text string while XML grammars are composed of text strings enclosed in XML elements. Whether to use the ABNF or XML format is up to you, however, VoiceXML 2.0 only requires implementers to support the XML format. Therefore, you may want to use the XML format to write grammars if portability is important to you.

If you're already experienced with the GSL or JSGF grammar formats, then you'll likely prefer the ABNF format because of its similarity. If you decide to use the XML format, you will quickly discover that it is extremely verbose compared to ABNF, making it more difficult to read. On the other hand, using the DTD or XML Schema for the XML grammar format in conjunction with an XML editor makes the task less tedious and reduces syntax errors. The authors of the VoiceXML 2.0 grammar format have also included an XSL style sheet for converting XML grammars to ABNF format, which may aid linguists who prefer to proof grammars in a less verbose text format.

Examples will be listed in both ABNF and XML format.

Go to page: 1  2  Next  

Next article: VoiceXML 2.0 Grammars, Part II


Tools:
Add www.developer.com to your favorites
Add www.developer.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed


Voice Archives

Work With InterSystems. Not Separate Systems. Rapidly develop and deploy connectable applications.
Developing Intelligent Communications? Visit the Avaya DevConnect Center on DevX.
Flash Demo: Learn how IBM Information Server Blade is easy to manage, highly scalable and efficient.
Guide to Developing a Web Site. Best Practices, Tips and Strategies. Download Exclusive eBook Now.
Whitepaper: Embeddable Content Platform for OEM's



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES