tags:

views:

7

answers:

0

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>