unispeech / asterisk-unimrcp

UniMRCP modules for Asterisk
http://www.unimrcp.org/asterisk
GNU General Public License v2.0
48 stars 36 forks source link

Feature request RECOG_RAW() #10

Open userator opened 7 years ago

userator commented 7 years ago

Feature request. Add the function "RECOG_RAW()" returning a raw NLSML document (XML) For self-parsing NLSML. Similar functions: RECOG_CONFIDENCE(), RECOG_GRAMMAR(), RECOG_INPUT(), and RECOG_INSTANCE().

achaloyan commented 7 years ago

Aren't you looking for the ${RECOG_RESULT} variable. See the usage guide

https://www.unimrcp.org/manuals/pdf/AsteriskUsageManual.pdf

userator commented 7 years ago

I know about this variable, and often its volume is not always enough to transfer NLSML. Asterisk truncates NLSML in the variable $ {RECOG_RESULT} to a size of 2048. In consequence of this, there was a need to get NLSML through the function.

achaloyan commented 7 years ago

Well, if you could come up with such a patch (pull request), I'd be glad to push it upstream.

userator commented 7 years ago

Ok, I'll start as soon as I have free time