mozilla / DeepSpeech

DeepSpeech is an open source embedded (offline, on-device) speech-to-text engine which can run in real time on devices ranging from a Raspberry Pi 4 to high power GPU servers.
Mozilla Public License 2.0
25.44k stars 3.98k forks source link

Error when trying deepspeech in Java (not Android) #3537

Closed Jochen-sys closed 3 years ago

Jochen-sys commented 3 years ago

Hello, I'm trying to integrate deepspeech in Java, but when I'm starting my Java programm I'm getting following error: Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: no deepspeech-jni in java.library.path I'm working on Windows 10 and after some research I found out, that deepspeech-jni is an .so and no dll. So I don't know if this cares about the using system, but also I don't know how it could work, so if you could help me, I would be very thankfull.

lissyx commented 3 years ago

We don't have Java support outside of Android for now. See #3503

Jochen-sys commented 3 years ago

Ouh ok I'm sorry. I only thought is because of this documentary: https://deepspeech.readthedocs.io/en/latest/Java-API.html But thanks for the answer.

Jzow commented 2 years ago

@Jochen-sys hi jochen Have you found a solution to integrate Java

Jochen-sys commented 2 years ago

No and I don't think there is any support for Java, because it was made only for Android.