MRCP was designed to be used with grammars, but Voicegain platform allows also for use of our large vocabulary (non-grammar) recognizer over MRCP.
There are two ways to tell the recognizer to do large vocabulary transcription:
- Pass the URI of the special built-in grammar builtin:none - note that it may not work on some VXML platforms or MRCP clients which examine if the grammar is a valid grammar.
- Pass a grxml grammar with the root rule name being "__TRANSCRIBE__" - apart from that the content of the grammar does not matter but it should be valid parseable GRXML grammar, e.g. one shown below.
<?xml version="1.0" encoding="UTF-8"?>
version="1.0" xml:lang="en-US" tag-format="semantics/1.0"
Results from large vocabulary transcription will be returned as follows, e.g.:
<interpretation grammar="session:request1@form-level" confidence="0.94">
<input mode="speech">make a payment</input>