How can I tag words when creating grammar rules to convert voice to text using xml ?
        Posted  
        
            by jhone
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by jhone
        
        
        
        Published on 2010-05-28T10:48:05Z
        Indexed on 
            2010/05/28
            10:52 UTC
        
        
        Read the original article
        Hit count: 325
        
hii friends, I am doing project using c#, which is about converting voice to text. I use speech sdk for this. I want to tag words according to its category using a grammar file which is written in xml sheet and display it in a text box.
eg : if the word is "eat" it should be display like "eat/verb".
following is the xml code i have written but the part which i tagged won't display in the text box. only the converted word is there.
     <rule id="Verbs">
       <item>eat<tag>$._value="/verb";</tag></item>     
     </rule>
        © Stack Overflow or respective owner