Looking For Speech Recognition (ASR) Suggestions
Is it correct that the unimrcp is the best approach for Asterisk and ASR/TTS?
Could anyone provide pros/cons for the various ASR options for Asterisk?
We need the ability for very large grammars (over 100,000 options). Because of this, my initial thought is Nuance or Lumenvox. Does this sound correct?
Have a great day!
Dan
4 thoughts on - Looking For Speech Recognition (ASR) Suggestions
Hello, you are correct. Very large grammars are only feasible with UniMRCP, and there is recognition quality to keep in mind too, which is far better on Nuance or Lumenvox than you can get with Pocketsphinx.
We use Lumenvox with UniMRCP for most ASR use cases, but with 100,000
options it might very well be the only solution for you.
Mind if I ask what the 100k options are for? Person names for a directory?
Best regards,
Luca
SGVsbG8gTHVjYSwNCg0KVGhhbmsgeW91IGZvciB5b3VyIHJlc3BvbnNlLiAgSeKAmW0gZmFtaWxp YXIgd2l0aCBzcGVlY2ggcmVjb2duaXRpb24gYW5kIFRUUywgYnV0IG5ldyB0byBNUkNQLg0KDQpZ
ZXMsIHRoZSAxMDBrIG9wdGlvbnMgaXMgdXNlZCBmb3IgbmFtZXMgaW4gYSBkaXJlY3RvcnkgbGlz dGluZy4NCg0KSW4gdGhlIHByZS1NUkNQIHN1cHBvcnQsIE51YW5jZSBBU1IgdXNlZCBBUEkgZXZl bnRzL21ldGhvZHMgZm9yIHRoZSBhcHBsaWNhdGlvbiB0byB0ZWxsIEFTUiB3aGVuIHRoZSBwcm9t cHQgd2FzIHBsYXlpbmcgYW5kIHdoZW4gaXQgc3RvcHBlZC4gIElmIEFTUiBkZXRlY3RlZCBzcGVl Y2gsIGl0IHdvdWxkIHNpZ25hbCBhbiBldmVudCBzbyB3ZSB3b3VsZCBzdG9wIHBsYXlpbmcgdGhl IHByb21wdC4NCg0KV2hlbiB1c2luZyBNUkNQIGZvciBBU1IsIGlzIE1SQ1AgcmVzcG9uc2libGUg Zm9yIHBsYXlpbmcgYW55IHByb21wdHMgZHVyaW5nIHRoZSByZWNvZ25pdGlvbj8NCkJhc2ljYWxs eSwgSeKAmW0gd29uZGVyaW5nIGl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
YWwuY29tIC0tDQoNCkNoZWNrIG91dCB0aGUgbmV3IEFzdGVyaXNrIGNvbW11bml0eSBmb3J1bSBh dDogaHR0cHM6Ly9jb21tdW5pdHkuYXN0ZXJpc2sub3JnLw0KDQpOZXcgdG8gQXN0ZXJpc2s/IFN0
YXJ0IGhlcmU6DQogICAgICBodHRwczovL3dpa2kuYXN0ZXJpc2sub3JnL3dpa2kvZGlzcGxheS9B
U1QvR2V0dGluZytTdGFydGVkDQoNCmFzdGVyaXNrLXVzZXJzIG1haWxpbmcgbGlzdA0KVG8gVU5T
VUJTQ1JJQkUgb3IgdXBkYXRlIG9wdGlvbnMgdmlzaXQ6DQogICBodHRwOi8vbGlzdHMuZGlnaXVt LmNvbS9tYWlsbWFuL2xpc3RpbmZvL2FzdGVyaXNrLXVzZXJzDQoNCg=
Hello, using UniMRCP and the MRCPRecog() dialplan function with “f” option (
https://www.unimrcp.org/manuals/html/AsteriskManual.html#_Toc424230605), you can use ASR with Nuance/Lumenvox and have Asterisk play prompts locally. You can alternatively have the MRCP server play audio, but that does tie up ports and require you to copy the files over. We have done both in the past, but on Asterisk it is preferable to use local playback, it uses less resources and does not need to be managed.
Best regards,
Luca
VGhhbmsgeW91IEx1Y2EuDQoNCkhhdmUgYSBncmVhdCBkYXkhDQoNCkRhbg0KDQoNCkZyb206IGFz dGVyaXNrLXVzZXJzLWJvdW5jZXNAbGlzdHMuZGlnaXVtLmNvbSBbbWFpbHRvOmFzdGVyaXNrLXVz ZXJzLWJvdW5jZXNAbGlzdHMuZGlnaXVtLmNvbV0gT24gQmVoYWxmIE9mIEx1Y2EgUHJhZG92ZXJh DQpTZW50OiBGcmlkYXksIEZlYnJ1YXJ5IDI0LCAyMDE3IDQ6MDkgUE0NClRvOiBBc3RlcmlzayBV
c2VycyBNYWlsaW5nIExpc3QgLSBOb24tQ29tbWVyY2lhbCBEaXNjdXNzaW9uDQpTdWJqZWN0OiBS
ZTogW2FzdGVyaXNrLXVzZXJzXSBMb29raW5nI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