提交

提交图

526 次代码提交

作者 SHA1 备注 提交日期
Nickolay Shmyrev ea5177e22d Fix memory leak 2026-06-03 07:37:02 +02:00
Nickolay Shmyrev cdb9a183e7 Pure gpu setup 2025-07-23 10:11:59 +02:00
Nickolay Shmyrev ee0eac64f3 Upgrade onnxruntime
Optimal threads configuration for runtime, a bit faster
2025-02-24 10:27:42 +01:00
Nickolay Shmyrev 7303e38495 Fixes VAD for long segments 2024-11-03 03:55:22 +01:00
Nickolay Shmyrev 241123ccd2 Implement configurable endpointer delays 2024-08-12 13:43:53 +02:00
Nickolay Shmyrev 692717c500 Since we add short context, don't expect segment length to be exactly 20s 2024-07-18 16:27:38 +02:00
Nickolay Shmyrev 742c112ba4 Lenght bucketing in batching. Speedup 2024-06-17 16:36:56 +02:00
Nickolay Shmyrev 7a9a8cd6a1 Add more processing threads and simplify java multistream test 2024-06-06 09:09:18 +02:00
Nickolay Shmyrev cf76d35985 Refactor batching to use max size. Add multi test 2024-06-06 08:17:19 +02:00
Nickolay Shmyrev b72fdf9248 Add C test, fix memory leak 2024-06-03 10:07:01 +02:00
Nickolay Shmyrev 34ebc48539 One more threshold tuning 2024-05-20 17:00:25 +02:00
Nickolay Shmyrev 8409db4c15 Tune VAD accuracy 2024-05-20 09:50:47 +02:00
Nickolay Shmyrev dad4ba398b Temporary fixes 2024-04-15 21:31:55 +02:00
Nickolay Shmyrev 762bb60a73 Add flush for the speech tail 2024-04-01 22:53:20 +02:00
Nickolay Shmyrev 32b099bf85 Fix lock from randomly initialized field 2024-03-28 01:06:48 +01:00
Nickolay Shmyrev 030ad8d7a0 Add multitest 2024-03-27 09:56:12 +01:00
Nickolay Shmyrev a82c11bb11 Add new result retrieval API for java 2024-03-26 08:26:33 +01:00
Nickolay Shmyrev 57bfc1a96a Even better batching 2024-03-26 00:45:15 +01:00
Nickolay Shmyrev 1e71ad78f6 Implement arbitrary chunk size 2024-03-25 13:12:32 +01:00
Nickolay Shmyrev ba19a2bd37 Add multi test 2024-03-04 14:43:30 +01:00
Nickolay Shmyrev 6db8bfa0f5 Add batch API 2024-02-08 08:58:12 +01:00
Nickolay Shmyrev f4832ca301 Add batch processing 2024-02-05 16:09:48 +01:00
Nickolay Shmyrev aabd069cff Fix crash 2024-01-22 06:37:04 +01:00
Nickolay Shmyrev 02690ac087 New bindings 2024-01-15 02:39:56 +01:00
Nickolay Shmyrev aba84973b1 Update to latest gradio go/v0.3.46 2023-12-15 00:23:37 +01:00
Nickolay Shmyrev 339b1c5d00 Fix t_max endpointer config and introduce t_start_max for silent inputs. 2023-12-13 04:45:30 +01:00
Nickolay Shmyrev a35728fa67 Simplify server argument 2023-11-27 15:40:58 +01:00
Nickolay Shmyrev 322a57b512 Fix json output format 2023-11-27 15:39:49 +01:00
Gonzalo a21d1ad051 feat: enable usage of remote server and not only localhost (#1375) 2023-11-27 17:22:59 +03:00
Nickolay Shmyrev a47fa9147b Add endpointer delays parameter 2023-11-27 15:29:31 +01:00
Wire dfb76f0126 go: do not include libdl if building on Windows (#1464) 2023-11-12 01:26:17 +03:00
Nickolay Shmyrev c3e3fc002f Add online endpointer reconfiguration 2023-10-16 13:40:32 +02:00
Nickolay Shmyrev 62fc308bdf Sometimes python interpreter destroys the handle on exit before
the object. See

https://foss.heptapod.net/pypy/cffi/-/issues/340
2023-09-04 00:33:42 +02:00
Dmitri Soloviev 60c0e33901 simplify go example (#1430) 2023-08-12 23:04:46 +03:00
jsbxyyx 5d09ee8b2b close source input stream (#1) (#1428) 2023-08-11 00:55:33 +03:00
JohnGebbie 12f29a3415 go: Add SetGrm (#1346) 2023-04-29 05:35:01 +03:00
Nickolay Shmyrev d56221bcf2 Add mkl docker build 2023-04-06 02:38:06 +02:00
Nickolay Shmyrev a2eb39d2d7 Set number of MKL threads 2023-04-06 02:10:53 +02:00
Anton Romanov 128c216c61 Fix vosk-transcriber cli json format (#1304)
Fix error UnboundLocalError: local variable 'monologue' referenced before assignment in transcriber.py line 102
2023-03-29 03:12:16 +03:00
mason-acronode da87d0dad3 c# supports GPU inference (#1307)
* Added Batch P/Invoke to be able to use GPU based inference

* Modified Result method

* Modified Result method

* Fixed code to call BatchModel

---------

Co-authored-by: minsik.sim <minsik.sim@cyara.com>
2023-03-25 12:28:14 +03:00
Nickolay Shmyrev 9cee2899bb Update publishing plugin and simplify gradle build 2023-03-15 22:50:42 +01:00
Doomsdayrs a40742bbaf Kotlin: Numerous Improvements (#1274)
* kotlin: bump version for future release

* kotlin: Unify dependency versions

* kotlin: Add AUTHORS

* kotlin: Add MAINTENANCE.md

* kotlin: Add README.md

* kotlin: Update common/Vosk.kt documentation

* kotlin: Fix indentation in build.gradle.kts

* kotlin: Add .idea files to unify how IDEs work

* kotlin: Reformat all code

* kotlin: Update all code headers

* kotlin: Add @JvmStatic to objects

* kotlin: Use Consumer instead of Kotlin lambda in StorageService.kt

* kotlin: Annotate SpeechService.kt as throwing IOException

* kotlin: Add gradle migration settings

* kotlin: Add Deprecated annotation to jvm/LibVosk.setLogLevel

* kotlin: Overhaul exceptions

* Update documentation

* Add function for creating a Recognizer with a proper list

* Update documentation
2023-03-03 19:12:54 +03:00
Doomsdayrs d714dff8d3 Add Kotlin Multiplatform (#1241)
* Init

* Implement common

* Implement JVM target

* Ignore build/ directory

* Implement android

* Disable kotlin/native targets

* Remove jCenter()

* Upgrade android tools to 7.3.0

* Enforce not null for essential windows operations

* Add license headers

* Add maven-publish

* Add dokka for javadoc

* Add disabled kotlin/native for linux

This is disabled currently due to vosk
 not having a proper installation method on linux yet.

* Add empty constructors for JVM classes

* Fix library initialization for JVM

* Add DecoderDemo

* Add serialization support

* Convert no arg functions with returns to val properties

* Properly implement DecoderTest

* Import other android classes

* Properly name json parser as voskJson

* Add license headers to native target

* Unify free functions with Freeable interface

This makes it easy for Kotlin/Native to use a "use" function to
 auto free after use of a Freeable.

* Document JVM default constructor

* Add JVM specific constructors with NIO/IO

* Inline default constructors in Common

* Properly handle invalid paths

* Add android publishing block

* Merge serialization into common

* Update to Kotlin 1.8.10

* Update to JNA 5.13.0

* Put native target behind environment variable or override.

Due to a lack of official packaging,
 this is not possible currently.

* Properly handle Recognizer.acceptWaveform exceptions

* Add flow extension for converting (InputStream->Recognizer) to a flow.

* Use ByteFlow for waveform flow instead.

This allows custom readers, and more advanced backends,
 such as the Dicio example in DecoderTest.kt .
2023-02-17 03:47:20 +03:00
Nickolay Shmyrev 790c564d14 Ignore non-audio files in folder transcription 2023-02-10 00:57:14 +01:00
Nickolay Shmyrev 988ba3f257 Bump JNA dependency everywhere 2023-02-08 22:55:22 +01:00
Nickolay Shmyrev 2796da0a50 Sync android lib to java lib, throw exceptions on errors 2023-02-08 22:07:02 +01:00
Nickolay Shmyrev d9c6fc4958 Check if ivector folder is required 2023-02-08 21:00:15 +01:00
Nickolay Shmyrev fff40ce1a1 Gradle doesn't understand + in version 2022-12-18 22:25:26 +01:00
Nicholas Albion 2deb7de1dd Fixed #883 - use right class loader (#1228) 2022-12-17 14:45:15 +03:00
Nicholas Albion 7d87267c31 copied documentation to javadoc (#1230)
Co-authored-by: Nickolay V. Shmyrev <nshmyrev@gmail.com>
2022-12-17 14:41:33 +03:00