dialogflow / asr-server

FastCGI support for Kaldi ASR
Apache License 2.0
184 stars 86 forks source link

can we get text only #38

Open lio14cha opened 6 years ago

lio14cha commented 6 years ago

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.

zhaoyi2 commented 6 years ago

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?

lio14cha commented 6 years ago

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.

realill commented 5 years ago

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