Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{"status":"ok","data":[{"confidence":0.932974,"text":""}]} #37

Open
zhaoyi2 opened this issue Jul 10, 2018 · 1 comment
Open

{"status":"ok","data":[{"confidence":0.932974,"text":""}]} #37

zhaoyi2 opened this issue Jul 10, 2018 · 1 comment

Comments

@zhaoyi2
Copy link

zhaoyi2 commented Jul 10, 2018

Hi,it still don't work well with the latest kaldi,so anyone can help?

@formigone
Copy link

@zhaoyi2 I was having the same issue. I was using asr-server from this repo which uses a fork of this repo.

My solution was to use the following to send audio to the server (using the demo model mentioned in the docs):

curl -H "Content-Type: application/octet-stream" --data-binary @/Users/my-user/Downloads/sound-file.wav http://localhost:8080/asr?endofspeech=1

In other words, I played around with the parameters specified in the docs. With the endofspeec=1 param, I now get the entire file transcribed (albeit, the sample model isn't super accurate with the input files I'm testing this with).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants