Login   Register  
PHP Classes
elePHPant
Icontem

File: grammar_test2_xml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Headd  >  PHP Grammar  >  grammar_test2_xml  >  Download  
File: grammar_test2_xml
Role: Sample output
Content type: text/plain
Description: Moderatley complex grammar in XML format
Class: PHP Grammar
Create speech recognition grammar W3C XML files
Author: By
Last change:
Date: 2004-10-03 20:47
Size: 654 bytes
 

Contents

Class file image Download
<?xml version="1.0" ?>
<!DOCTYPE grammar PUBLIC "-//W3C//DTD GRAMMAR 1.0//EN"
"http://www.w3.org/TR/speech-grammar/grammar.dtd">
 
<grammar version="1.0" xml:lang="es-US" xmlns="http://www.w3.org/2001/06/grammar" root="primary">
<rule id="primary" scope="public">
<one-of>
<item>America <tag>first="10"</tag> </item>
<item>Nashville <tag>first="11"</tag> </item>
<item>X Country <tag>first="12"</tag> </item>
<item>Hank's Place <tag>first="13"</tag> </item>
<item>Bluegrass Junction <tag>first="14"</tag> </item>
<item>The Village <tag>first="15"</tag> </item>
<item>Highway 16 <tag>first="16"</tag> </item>
</one-of>
</rule>

</grammar>