Package Details: vosk-api 0.3.50-1

Git Clone URL: https://aur.archlinux.org/vosk-api.git (read-only, click to copy)
Package Base: vosk-api
Description: Offline speech recognition toolkit
Upstream URL: https://alphacephei.com/vosk/
Licenses: Apache-2.0
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 9
Popularity: 1.59
First Submitted: 2022-04-04 18:36 (UTC)
Last Updated: 2024-04-22 16:40 (UTC)

Dependencies (18)

Sources (7)

Latest Comments

1 2 Next › Last »

dbermond commented on 2024-05-04 15:03 (UTC)

@MaximGun Nice. Good to know it's working for you.

MaximGun commented on 2024-05-04 00:14 (UTC)

Thanks and apologies. I even knew about the jvm thing but forgot. It is building now with archlinux-java set java-17-openjdk.

dbermond commented on 2024-05-03 00:12 (UTC)

@MaximGun You are using an AUR helper, and this is not supported. Please use makepkg. Also, try to build without any custom java settings configured through the '_JAVA_OPTIONS' environment variable. And notice that the required java version to build (and run) the package is currently 17, so, make sure to have your jvm properly configured for this.

MaximGun commented on 2024-05-01 21:46 (UTC)

I am getting a build failure with 0.3.50:

make: Leaving directory '/home/maximgun/.cache/yay/vosk-api/src/vosk-api-0.3.50/src'
Picked up _JAVA_OPTIONS: -Djava.util.prefs.userRoot=/home/maximgun/.config/java
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66
> Unsupported class file major version 66

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 2s
==> ERROR: A failure occurred in build().
    Aborting...
-> error making: vosk-api-exit status 4
-> Failed to install the following packages. Manual intervention is required:
vosk-api - exit status 4

fenugrec commented on 2024-03-04 19:07 (UTC)

@dbermond thanks for the clarification, makes sense.

dbermond commented on 2024-03-04 18:43 (UTC)

@fenugrec The models are not packaged. They are used for running the tests in the check() function. There are many models available for download at the upstream website, with different characteristics and different languages, including giga-sized model packs. If a user needs a model at runtime, it's up to the user to download the desired model and manage it accordingly. According to upstream, you can also train your own model.

fenugrec commented on 2024-03-04 16:34 (UTC) (edited on 2024-03-04 16:50 (UTC) by fenugrec)

I see the sources include vosk-model-small-en-us , but it doesn't look like it's getting packaged ? (model is 40MB, but package .zst is 5MB and only contains a few files)

dbermond commented on 2023-06-20 21:05 (UTC)

@Perdu I've just checked, and the package is building fine. Make sure to have java 17 as your default jvm, and not java 8. Or build in a clean chroot.

Perdu commented on 2023-05-12 14:59 (UTC)

Got this error after ~30 minutes/1 hour of compiling: Execution failed for task ':compileJava'.

Could not find tools.jar. Please check that /usr/lib/jvm/java-8-openjdk/jre contains a valid JDK installation.

VorpalWay commented on 2022-12-19 20:15 (UTC)

@dbermond I use aurutils to build in a clean chroot too. However on a hunch, I also tested turning off distcc. That did it. Seems this package is incompatible with distcc. Of course that take much longer to build (8 cores instead of 38 cores)

I suggest either adding !distcc, or trying to figure out what went wrong.