Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Python client library for Kaldi gRPC server. This client has similar - identical - semantics to the Google speech Python library.
You can install from source
git clone https://github.com/georgepar/kaldi-grpc-server
cd client
pip install .
or from Pypi
pip install kaldigrpc-client
We assume you have a server running on port 50051
. See kaldi-grpc-server
README for more
information.
kaldigrpc-transcribe --port 50051 $MY_WAV_FILE
For long files we recommend using the streaming client
kaldigrpc-transcribe --streaming --port 50051 $MY_WAV_FILE
The following is a simple example for streaming recognition using the ILSPASRClient. You can also refer to the code and the proto files for more configuration options and more outputs (e.g. confidence, word start and end times etc.)
Warning: Some configuration options are included for compatibility / easy swapping with the Google Speech client library but are not yet fully implemented. Please refer to the code for more details.
cli = ILSPASRClient(host="localhost", port=50051)
chunks = ... # list of audio chunks (bytes)
for partial_result in cli.streaming_recognize(chunks):
# Print best path partial transcription
print(partial_result.results[0].alternatives[0].transcript)
FAQs
Python client for Kaldi GRPC server
We found that kaldigrpc-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.