vosk-api | Offline speech recognition API for Android iOS | Speech library
kandi X-RAY | vosk-api Summary
kandi X-RAY | vosk-api Summary
vosk-api is a Jupyter Notebook library typically used in Artificial Intelligence, Speech applications. vosk-api has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.
Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Support
Quality
Security
License
Reuse
Support
vosk-api has a medium active ecosystem.
It has 5750 star(s) with 901 fork(s). There are 103 watchers for this library.
It had no major release in the last 12 months.
There are 367 open issues and 902 have been closed. On average issues are closed in 7 days. There are 29 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of vosk-api is v0.3.45
Quality
vosk-api has 0 bugs and 0 code smells.
Security
vosk-api has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
vosk-api code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
vosk-api is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
vosk-api releases are available to install and integrate.
It has 1440 lines of code, 175 functions and 51 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vosk-api
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vosk-api
vosk-api Key Features
No Key Features are available at this moment for vosk-api.
vosk-api Examples and Code Snippets
Copy
pcm = recorder.read()
result = porcupine.process(pcm)
sp = struct.pack("h" * len(pcm), *pcm)
if self.rec.AcceptWaveform(sp):
res = json.loads(self.rec.Result())
if res["text"] != "
Copy
filtered_list = []
for w in words:
already_seen = False
for seen in filtered_list:
# print(seen.word)
if w.compare(seen):
already_seen = True
if not already_seen:
filtered_list.append(w)
#
Copy
frequency = {}
for w in words:
if frequency.get(w.word, False):
frequency[w.word].append(w)
else:
frequency[w.word] = [w]
repeated_words_list = []
for key in frequency:
if len(frequency[key]) > 1:
r
Copy
import sys
import os
import subprocess
import json
import math
# tested with VOSK 0.3.15
import vosk
import librosa
import numpy
import pandas
def extract_words(res):
jres = json.loads(res)
if not 'result' in jres:
return
Copy
from vosk import Model, KaldiRecognizer
import os
if not os.path.exists("model-en"):
print ("Please download the model from https://github.com/alphacep/vosk-android-demo/releases and unpack as 'model-en' in the current folder.")
e
Copy
###############################################################################################
######## STT SPEECH TO TEXT FUNCTION THAT RETURNS THE VARIABLE: command
import pyaudio
from vosk import Model, KaldiRecognizer
def myCommand()
Copy
#!/usr/bin/python3
from vosk import Model, KaldiRecognizer
import sys
import os
import wave
if not os.path.exists("model-en"):
print ("Please download the model from https://github.com/alphacep/kaldi-android-demo/releases and unpack
Copy
#!/usr/bin/python3
from vosk import Model, KaldiRecognizer, SpkModel
import sys
import wave
import json
import os
import numpy as np
model_path = "model-en"
spk_model_path = "model-spk"
if not os.path.exists(model_path):
print ("Ple
Copy
pip install https://github.com/dtreskunov/tiny-kaldi/releases/download/0.3.1.2/vosk-0.3.1.2-cp37-cp37m-win_amd64.whl
Community Discussions
Trending Discussions on vosk-api
QUESTION
Vosk (Kaldi) offline speech recognition in Unity
Asked 2020-Aug-16 at 15:31
How to implement and use Vosk library into Unity project? Please write steps 1,2,3... Vosk library here - https://github.com/alphacep/vosk-api
...ANSWER
Answered 2020-Aug-16 at 15:31I actually did it on Mac OS X.
- Follow instructions to compile Kalid at https://alphacephei.com/vosk/install
- Follow instruction to make C# wrapper (same)
- Create Xcode project and make bundle.
- Then add bundle and c# files to your unity project.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vosk-api
You can download it from GitHub.
Support
For installation instructions, examples and documentation visit Vosk Website.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page