<?xml version="1.0" encoding="UTF-8" ?>
<grammar version="1.0" xmlns="http://www.w3.org/2001/06/grammar"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://www.w3.org/2001/06/grammar
                             http://www.w3.org/TR/speech-grammar/grammar.xsd"
 xml:lang="th-TH" mode="voice" root="AlphaNum">
 
   <rule id="AlphaNum" scope="public">
      <item>
        <ruleref uri="#S"/>
        <tag>app_tag_intent=S.V; BUILD='20230317134900';</tag>
      </item>
   </rule>

   <rule id="S">
      <item repeat="1-">
         <ruleref uri="#AN"/>
         <tag>V = V ? V +"CHR$(8)"+ AN.V : AN.V</tag>
      </item>
   </rule>

   <rule id="AN">
      <one-of>
         <item><tag>V='0'</tag>0</item>
         <item><tag>V='1'</tag>1</item>
         <item><tag>V='2'</tag>2</item>
         <item><tag>V='3'</tag>3</item>
         <item><tag>V='4'</tag>4</item>
         <item><tag>V='5'</tag>5</item>
         <item><tag>V='6'</tag>6</item>
         <item><tag>V='7'</tag>7</item>
         <item><tag>V='8'</tag>8</item>
         <item><tag>V='9'</tag>9</item>
	 <item>
              <tag>V='A'</tag>
               <one-of>
                 <item> เอ </item>
                 <item> เอ อเมริกา  </item>
				 <item> เอ เมกา  </item>
				 <item> เอ แอปเปิ้ล  </item>
               </one-of>
        </item>
        <item>
              <tag>V='B'</tag>
               <one-of>
                 <item> บี </item>
                 <item> บี บอย  </item>
				 <item> บี บราซิล  </item>
				 <item> บี เบิด  </item>
               </one-of>
        </item>
        <item>
              <tag>V='C'</tag>
               <one-of>
                 <item> ซี </item>
                 <item> ซี ไซน่า  </item>
				 <item> ซี แคท  </item>
				 <item> ซี แคนนาดา  </item>
               </one-of>
        </item>
        <item>
              <tag>V='D'</tag>
               <one-of>
                 <item> ดี </item>
                 <item> ดี เดนมาร์ก  </item>
               </one-of>
        </item>
        <item>
              <tag>V='E'</tag>
               <one-of>
                 <item> อี </item>
                 <item> อี อิงแลนด์  </item>
               </one-of>
        </item>
        <item>
              <tag>V='F'</tag>
               <one-of>
                 <item> เอฟ </item>
                 <item> เอฟ ฟรานซ์  </item>
               </one-of>
        </item>
        <item>
              <tag>V='G'</tag>
               <one-of>
                 <item> จี </item>
                 <item> จี เจอมานี  </item>
               </one-of>
        </item>
        <item>
              <tag>V='H'</tag>
               <one-of>
                 <item> เฮด </item>
                 <item> เอ็ช  </item>
				 <item> เฮด ฮ่องกง  </item>
               </one-of>
        </item>
        <item>
              <tag>V='I'</tag>
               <one-of>
                 <item> ไอ </item>
                 <item> ไอ อิตาลี  </item>
               </one-of>
        </item>
        <item>
              <tag>V='J'</tag>
               <one-of>
                 <item> เจ </item>
                 <item> เจ เจแปน  </item>
               </one-of>
        </item>
        <item>
              <tag>V='K'</tag>
               <one-of>
                 <item> เค </item>
                 <item> เค โคเรีย  </item>
               </one-of>
        </item>
        <item>
              <tag>V='L'</tag>
               <one-of>
                 <item> แอล </item>
                 <item> แอล ลอนดอน  </item>
               </one-of>
        </item>
        <item>
              <tag>V='M'</tag>
               <one-of>
                 <item> เอ็ม </item>
                 <item> เอ็ม มาเลเซีย  </item>
               </one-of>
        </item>
        <item>
              <tag>V='N'</tag>
               <one-of>
                 <item> เอ็น </item>
                 <item> เอ็น นอร์เวย์  </item>
               </one-of>
        </item>
        <item>
              <tag>V='O'</tag>
               <one-of>
                 <item> โอ </item>
                 <item> โอ ออคโทเบ้อ  </item>
               </one-of>
        </item>
        <item>
              <tag>V='P'</tag>
               <one-of>
                 <item> พี </item>
                 <item>  พี โปแลนด์ </item>
               </one-of>
        </item>
        <item>
              <tag>V='Q'</tag>
              <one-of>
               <item> คิว </item>
               <item> คิว ควีน </item>
              </one-of>
        </item>
        <item>
              <tag>V='R'</tag>
               <one-of>
                 <item> อา </item>
                 <item> อา รัสเซีย  </item>
               </one-of>
        </item>
        <item>
              <tag>V='S'</tag>
               <one-of>
                 <item> เอส </item>
                 <item> เอส สิงคโปร์  </item>
               </one-of>
        </item>
        <item>
              <tag>V='T'</tag>
               <one-of>
                 <item> ที </item>
                 <item> ที ไทยแลนด์  </item>
               </one-of>
        </item>
        <item>
              <tag>V='U'</tag>
               <one-of>
                 <item> ยู </item>
                 <item> ยู ยูไนเต็ด  </item>
               </one-of>
        </item>
        <item>
              <tag>V='V'</tag>
               <one-of>
                 <item> วี </item>
                 <item> วี เวียดนาม  </item>
               </one-of>
        </item>
        <item>
              <tag>V='W'</tag>
               <one-of>
                 <item> ดับเบินยู </item>
                 <item> ดับบิว  </item>
				 <item> ดับบิว วิสกี้  </item>
               </one-of>
        </item>
        <item>
              <tag>V='X'</tag>
               <item> เอ็ก </item>
               <item> เอ็ก เอ็กซ์เรย์  </item>
        </item>
        <item>
              <tag>V='Y'</tag>
               <one-of>
                <item> วาย </item>
                <item> วาย เยเมน  </item>
               </one-of>
        </item>
        <item>
              <tag>V='Z'</tag>
               <one-of>
                <item> แซด </item>
                <item> แซด ซีบรา  </item>
               </one-of>
        </item>
      </one-of>
   </rule>

</grammar>

