asr-server icon indicating copy to clipboard operation
asr-server copied to clipboard

can we get text only

Open lio14cha opened this issue 7 years ago • 3 comments

Whenever I am running it is working.But can we get only the text output without getting any status,data.output,time etc............ And by the way is it possible to run the server after stopping the ../asr-server/fcgi-nnet3-decoder --fcgi-socket=:8080.

lio14cha avatar Jul 10 '18 04:07 lio14cha

Hello, are you downloading the latest version of Kaldi? Can the service run normally? Why is my display status OK, but test result " "? Can you help me?

zhaoyi2 avatar Jul 10 '18 06:07 zhaoyi2

I am running latest versions.and output is {"status":"ok","data":[{"confidence":0.912162,"text":""}]} or {"status":"ok","data":[{"confidence":0.926722,"text":"HELLO"}]} like this.please make sure that your microphone is working fine.And if it is possible send the output of your data.thank you.

lio14cha avatar Jul 11 '18 04:07 lio14cha

You can transform json format into anything you want. For instance you can use curl + https://stedolan.github.io/jq/ and extract text out of json.

No you can not stop server, it is doing all the work

realill avatar Jul 24 '18 23:07 realill