Note: Rather than using concept/phrase grammars, LumenVox encourages the use of SRGS grammars. SRGS grammars provide a standards-based method of creating grammars that is more robust and easier to troubleshoot than concept/phrase grammars. See our SRGS tutorial for more information on working with SRGS grammars.
Returns the decoded raw text (without BNF formatting) found in the last call to Decode.
const char* LV_SRE_GetRawTextDecoded(HPORT hport,int VoiceChannel, int Index);
A null-terminated string representing the decoded raw text.
The voice channel to process.
Index
The recognition position of the decoded raw text.
Assuming the speaker said "Violet" and the grammar contained the concepts under Concept, and the grammar under Phrase, the Speech Engine might return the raw text highlighted:

The main difference between LV_SRE_GetPhraseDecoded and LV_SRE_GetRawTextDecoded is in BNF formatting. LV_SRE_GetPhraseDecode returns the decoded phrase, as it is entered into the grammar. If the phrase contains BNF formatting, with selections, options, grouping, etc., than the return value preserves that formatting. LV_SRE_GetRawTextDecoded returns the decode phrase, after BNF formatting has been removed. Thus, LV_SRE_GetRawTextDecoded will return the phrase as a list of the words actually recognized, rather than the phrase as it was entered into the grammar.
Complete Help Topic List | Speech Engine Product Information