Skip to content

Commit ce3023f

Browse files
authored
Update of vosk with help of @nshmyrev
Last part - Updating readme
1 parent a4c29cb commit ce3023f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.rst

+12
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ The `library reference <https://github.com/Uberi/speech_recognition/blob/master/
5454

5555
See `Notes on using PocketSphinx <https://github.com/Uberi/speech_recognition/blob/master/reference/pocketsphinx.rst>`__ for information about installing languages, compiling PocketSphinx, and building language packs from online resources. This document is also included under ``reference/pocketsphinx.rst``.
5656

57+
You have to install Vosk models for using Vosk. `Here <https://alphacephei.com/vosk/models>`__ are models avaiable. You have to place them in models folder of your project, like "your-project-folder/models/your-vosk-model"
58+
5759
Examples
5860
--------
5961

@@ -132,6 +134,16 @@ Note that the versions available in most package repositories are outdated and w
132134

133135
See `Notes on using PocketSphinx <https://github.com/Uberi/speech_recognition/blob/master/reference/pocketsphinx.rst>`__ for information about installing languages, compiling PocketSphinx, and building language packs from online resources. This document is also included under ``reference/pocketsphinx.rst``.
134136

137+
Vosk (for Vosk users)
138+
~~~~~~~~~~~~~~~~~~~~~
139+
Vosk API is **required if and only if you want to use Vosk recognizer** (``recognizer_instance.recognize_vosk``).
140+
141+
You can install it with ``python3 -m pip install vosk``.
142+
143+
You also have to install Vosk Models:
144+
145+
`Here <https://alphacephei.com/vosk/models>`__ are models avaiable for download. You have to place them in models folder of your project, like "your-project-folder/models/your-vosk-model"
146+
135147
Google Cloud Speech Library for Python (for Google Cloud Speech API users)
136148
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137149

0 commit comments

Comments
 (0)