PHP Classes

PHP Grammar: Create speech recognition grammar W3C XML files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,172 All time: 3,233 This week: 660Up
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: 55
All time rank: 2151304 in United States United States
Week rank: 180 Up22 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (8)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,172
This week:0
All time:3,233
This week:660Up