PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,172 This week: 1All time: 3,229 This week: 560Up
Version License Categories
php_xml_grammar 1.0.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
Age: 54
All time rank: 2150304 in United States United States
Week rank: 411 Up48 in United States United States Up
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,172
This week:1
All time:3,229
This week:560Up