A key services for the voice interaction systems.
Now, there are many online services with similar functionality, but most of them bring the risks of data leaks and can't be used.
The software enable to build complete local speech-to-text service and use it in these cases.
This is a fast, lightweight solution with simple web-api which not requires a special hardware (such as GPU) and able to run on regular servers.
Freeswitch javascript example: Simple IVR menu
Written in C, with libs:
mpg123,
alphacephei framework.
You won't depend on any online services, and spend money for subscription
There are open models for various languages
There are tools for it
Allows to defined the context dictionary (bag of accessible words) an use it during recognition
Allows to generate speakers signature vector for further identification
for example: IBM x3550-M3
There is already a ready-made module for integration with FreeSWITCH.
for details see: mod_sivr_stt
Takes a positive effect on performance and memory consumption
Enable to make easy integration with various applications
- wav
- mp3
- l16
- Linux
Example #1 (simple request)
Request:
curl http://127.0.0.1:8801/v1/transcriptions -X POST -H "Authorization: Bearer secret" -H "Content-Type: multipart/form-data" -F language="en" -F smodel="small" -F file="@test.mp3"
Response (json):
{
"text" : "hello world"
}
Example #2 (with speake identify)
Request:
curl http://127.0.0.1:8801/v1/transcriptions -X POST -H "Authorization: Bearer secret" -H "Content-Type: multipart/form-data" -F language="en" -F smodel="small" -F vmodel="default" -F file="@test.mp3"
Response (json):
{
"spk" : [-0.644623, 1.023342, 2.575434, 0.623447, -0.602342, 1.0234234 -1.4824234 -0.021242, 0.824297, -0.152424, ... ],
"spk_frames" : 81,
"text" : "hello world"
}