16 Commits

Author SHA1 Message Date
Edwin Hendriks
25c59b52e3
add -m (language model) argument to test_microphone.py (#1219)
* added language model as parameter

* fix fore more help explanation
2022-12-07 22:53:21 +03:00
vadimdddd
7b4d396eb1
fix quotes and import's order (#1143) 2022-09-13 21:51:45 +03:00
vadimdddd
36968fbb30
Fix python style issues (#1140)
* pylint_fix v.2

* init: fix quotes
2022-09-12 23:08:59 +03:00
vadimdddd
7474888801
Fix python style issues (#1131) 2022-09-09 00:13:02 +03:00
vadimdddd
4209f3a9fe
Vosk model loader(#871) (#941)
* methods get_model_by_name, get_model_by_lang, get_model were added into the model class

* importing modules changed to using components; introduced constant MODELS_HOME_DIR; simplified code

* added new model folders into init; changed samples and transcriber bin for new mode loader

* changed back in cli.py lang arg to args.lang

* added 3 directories instead of 1 to check for models

* cli.py: added 3 args instead of 1 for model; __init__.py: changed script get_model_path for run get_model_by_name/lang inside current directory

* deleted default env var

* cli.py: changed arg_name; __init__.py: changed const name, changed model loading only for last directory

* deleted unused method

* changed by_name, by_lang methods, added download_model method

* deleted env variable initialization

* deleted print()

* deteled unused modules

* added progress_bar, added folder AppData/Local/vosk for model search

* changed download_model methond; added my_hook method
2022-05-24 21:06:13 +03:00
Nickolay Shmyrev
a5a3697b7c Copy data before queue, original data can be destroyed.
Fixes issue #444

Thanks to Alexander Zatvornitsky
2021-03-01 21:25:41 +01:00
Vlad Ki
c6119c4835
test_microphone: AcceptWavform wants bytes 2021-02-08 00:38:28 +02:00
Nickolay Shmyrev
6f2d6d0d69 Proper microphone recognizer with the queue 2021-01-09 23:16:35 +01:00
Nickolay Shmyrev
f97383c17f Update models location 2020-09-22 00:00:24 +02:00
Nickolay Shmyrev
b81f69d407 Avoid overflow. See issue #128 2020-06-06 10:43:44 +02:00
Nickolay Shmyrev
37fbe1a52b OSX build 2020-05-08 09:55:15 +03:00
Nickolay Shmyrev
80219066e9 Expose verbose level in the API 2020-05-01 19:02:57 +02:00
Nickolay Shmyrev
d75bb36131 Fix model download path 2020-04-30 11:04:35 +02:00
Nickolay Shmyrev
86caf526f5 New model layout and model config file with beams for decoding 2020-04-28 01:06:41 +02:00
André Mendes
14b2c13ed6 Fixes folder name instruction for python model on microphone test 2020-03-25 01:01:23 -03:00
Nickolay Shmyrev
f66f7a9290 Added microphone test 2020-02-21 00:08:50 +01:00