PHP Classes
elePHPant
Icontem

PHP Grammar: Create speech recognition grammar W3C XML files

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-10-03 (12 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,152 All time: 3,156 This week: 1,090Up
Version License Categories
php_xml_grammar 1.0Free To Use But R...XML, Audio
Description Author

This package is meant to generate grammar definition XML files for speech recognition applications according to W3 Consortium specification.

This XML format for speech grammars is part of the SRGS specification. Platforms conforming to the VoiceXML 2.0 specification are required to support this format. In addition, XML grammars are also supported within the SALT and XHTML + Voice specifications.

An XSLT Stylesheet is available from the W3C that allows developers to convert XML grammars to Augmented BNF Form, the other format required to be supported under the VoiceXML 2.0 specification.

As grammar formats go, the W3C XML format is the most broadly supported and has the most utility for voice application developers.

Innovation Award
PHP Programming Innovation award nominee
October 2004
Number 4


Prize: One copy of the Zend Studio
XML has been used as a means to represent structured information to be used by voice based applications, like voice portals that provide automated services to telephone users.

The W3 consortium has created a set of standards, known as VoiceXML, that define XML based formats to represent voice and generic audio elements and how they should they be presented during the interaction with the users.

This class provide a solution for simplifying the generation of grammar files in a XML format that is a VoiceXML standard meant to define how a given speech recognition application expects the user to interact using the voice.

Manuel Lemos
Picture of Mark Headd
Name: Mark Headd <contact>
Classes: 1 package by
Country: United States United States
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file createGrammar.php Class Sub class that takes in arrays and generates grammar files in W3C XML format
Plain text file grammar.php Class Base class file used to create W3C Grammar files in XML format
Accessible without login Plain text file grammar_test1_php Example Simple grammar example
Accessible without login Plain text file grammar_test1_xml Output Simple grammar in XML format
Accessible without login Plain text file grammar_test2_php Example Moderately complex grammar example
Accessible without login Plain text file grammar_test2_xml Output Moderatley complex grammar in XML format
Accessible without login Plain text file grammar_test3_php Example Complex grammar example
Accessible without login Plain text file grammar_test3_xml Output Complex grammar in XML format

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,152
This week:0
All time:3,156
This week:1,090Up