0

How to access the grammar file from the javascripts?

hi,

I have uploaded my grammar file at the Myfiles/www section. How can I access this grammar file in the scripts. So what will be the link I should put in the choices as shown below:-

command = ask("Welcome to Voice Commands, please say your voice command now?", {
        choices:"https://xxxx.yyyy.com/www/grammar.xml"
    });

7 comments

Please sign in to leave a comment.