Answer the question
In order to leave comments, you need to log in
How to add grammar file to finished exe file?
Hello.
There is an xml file for SRGS grammar.
<?xml version="1.0" encoding="UTF-8"?>
<grammar version="1.0" xml:lang="en-US"
xmlns="http://www.w3.org/2001/06/grammar"
tag-format="semantics/1.0" root="Main">
Grammar citiesGrammar = new Grammar(@"C:\[путь к файлу].xml");
recEngine.LoadGrammar(citiesGrammar);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question