One ONNX Runtime native library shared by Sherpa speech and Java decisions.
One ONNX Runtime native library shared by Sherpa speech and Java decisions.
(default-native-dir token)Versioned path so upgrading either JNI package or Linux ABI cannot reuse an old library.
Versioned path so upgrading either JNI package or Linux ABI cannot reuse an old library.
(ensure-ort!)Stage ORT 1.30 and the Java JNI before OrtEnvironment initializes. An explicit Java native path is respected when complete. Other platforms retain their independent upstream loaders.
Stage ORT 1.30 and the Java JNI before OrtEnvironment initializes. An explicit Java native path is respected when complete. Other platforms retain their independent upstream loaders.
(install-resource! dir name resource)Stage a classpath native resource, refusing a missing platform library.
Stage a classpath native resource, refusing a missing platform library.
(install-stream! dir name stream)Copy a bundled JNI library atomically into the shared native directory.
Copy a bundled JNI library atomically into the shared native directory.
(installed? dir name)A staged library must be complete before a loader sees it.
A staged library must be complete before a loader sees it.
(library-names)The runtime, Java JNI shim and Sherpa JNI shim for this platform.
The runtime, Java JNI shim and Sherpa JNI shim for this platform.
(native-cache-name token)The compatible runtime and JNI cache name for this release platform.
The compatible runtime and JNI cache name for this release platform.
(native-dir)(native-dir token)The one path both JNI loaders use on a supported native release platform.
The one path both JNI loaders use on a supported native release platform.
(platform-token)(platform-token os-name os-arch)The native directory token shared by the two Java loaders for this OS and CPU.
The native directory token shared by the two Java loaders for this OS and CPU.
Platforms built and tested with both ONNX Runtime Java and Sherpa JNI.
Platforms built and tested with both ONNX Runtime Java and Sherpa JNI.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |