Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ovos-plugin-linguonnx

OVOS language plugins built on linguonnx. One package, two plugins, both CPU-only on onnxruntime, both fully offline after the models are cached, neither needs torch:

Plugin Entry point group Plugin id
LinguONNXLangDetectPlugin opm.lang.detect ovos-lang-detect-plugin-linguonnx
LinguONNXTranslatePlugin opm.lang.translate ovos-translate-plugin-linguonnx

Install

pip install ovos-plugin-linguonnx

Models download from HuggingFace on first use and are cached under ~/.cache/linguonnx/models/<model_id>/. Constructing either plugin does not trigger a download; the first real call does. On a server, prefetch instead — see Prefetching.

Usage

from ovos_plugin_linguonnx import LinguONNXLangDetectPlugin, LinguONNXTranslatePlugin

det = LinguONNXLangDetectPlugin()
det.detect("bom dia")   # 'pt'

tx = LinguONNXTranslatePlugin()
tx.translate("Good morning", target="gl", source="en")

Documentation

Credits

Release files for ovos-plugin-linguonnx 0.3.2a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-plugin-linguonnx 0.3.2a4
File Size Uploaded
ovos_plugin_linguonnx-0.3.2a4.tar.gz 17.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-plugin-linguonnx 0.3.2a4
File Interpreter ABI Platform
ovos_plugin_linguonnx-0.3.2a4-py3-none-any.whl Python 3 none any Details

Total release size: 31.2 kB

Release files / ovos_plugin_linguonnx-0.3.2a4.tar.gz

Download URL ovos_plugin_linguonnx-0.3.2a4.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8546e8bbdd34d5b452c02a7a86b1c0633785a5897dd5f1c12c6597fd48bb0683
BLAKE2b-256 checksum
How to use checksums
ab3fc933ab46c0d9b3058654ccef190be2aa01ce6eaba2e6461825f34ba6311f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_plugin_linguonnx-0.3.2a4-py3-none-any.whl

Download URL ovos_plugin_linguonnx-0.3.2a4-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6370a5f00977703219b6d3bb48fe20bb865f430381344cba6fe478163da961f4
BLAKE2b-256 checksum
How to use checksums
02f77a1de8fa1d18b771bd4fd6bd394582543380c1c00bf8844f6ea8476dd6af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page