
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.