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

JNI wrappers for decoding #1

Open
dpny518 opened this issue Jul 16, 2019 · 9 comments
Open

JNI wrappers for decoding #1

dpny518 opened this issue Jul 16, 2019 · 9 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@dpny518
Copy link

dpny518 commented Jul 16, 2019

Could you try to add JNI wrappers like this
https://github.com/ahmetaa/kaldi-jni/blob/master/cpp/jni/kaldi-jni.cc

for this code
https://github.com/alphacep/kaldi-websocket-python/blob/master/kaldi_recognizer.cc

I think this will allow android decoding

@rayworks rayworks added enhancement New feature or request good first issue Good for newcomers labels Jul 17, 2019
@rayworks
Copy link
Owner

Hi @yondu22,thanks for pointing out that the project could have better decoders.
Given that the spare time I have, probably I will start to implement the new feature from next month.

@nanaghartey
Copy link

@rayworks Thanks for this repo. I found a timer functionality in the mainactivity class. Besides that what does this project do? Is the goal to run kaldi on device (offline) like https://keenresearch.com/ ??

@rayworks
Copy link
Owner

rayworks commented Jul 18, 2019

@nanaghartey, the original purpose for this project is to have a PoC using kaldi on Android platform in offline mode.

Before this, we've used CMU PocketSphinx for a long time already, but recently we just found it doesn't work as expected for some cases.

@nanaghartey
Copy link

@rayworks alright but currently it seems there is no decoding functionality and as such speech recognition can't be performed like pocketsphinx right?

@rayworks
Copy link
Owner

No, not on the JNI level.

@nanaghartey
Copy link

nanaghartey commented Jul 18, 2019 via email

@rayworks
Copy link
Owner

rayworks commented Jul 18, 2019

Speaking of decoders, have you tried with this one?
I will continue working on current project to fulfill a meaningful demo instead of an intermediate one.
But I can't guarantee the completion time.

@dpny518
Copy link
Author

dpny518 commented Sep 4, 2019

@nanaghartey
Copy link

nanaghartey commented Sep 4, 2019

@yondu22 Thanks for the link. It builds and runs successfully however, the accuracy is poor. I keep getting wrong results. Did you face same issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants