{"library":"sherpa-onnx-core","title":"sherpa-onnx Core","description":"Core shared libraries for sherpa-onnx, a cross-platform speech recognition and text-to-speech toolkit. Version 1.12.40 provides the underlying ONNX Runtime-based engines for ASR, VAD, and TTS, with package updates for various platforms. Release cadence is approximately semi-monthly.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install sherpa-onnx-core"],"cli":null},"imports":["import sherpa_onnx","import sherpa_onnx"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import sherpa_onnx\n\nrecognizer = sherpa_onnx.OfflineRecognizer.from_models(\n    encoder=\"path/to/encoder.onnx\",\n    decoder=\"path/to/decoder.onnx\",\n    tokens=\"path/to/tokens.txt\",\n)\nwave = sherpa_onnx.read_wave(\"test.wav\")\nresult = recognizer.decode(wave)\nprint(result.text)","lang":"python","description":"Basic offline ASR using pre-downloaded ONNX models.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}