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.3a1

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.3a1
File Size Uploaded
ovos_plugin_linguonnx-0.3.3a1.tar.gz 17.6 kB Details

Built distribution (wheel)

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

Total release size: 31.5 kB

Release files / ovos_plugin_linguonnx-0.3.3a1.tar.gz

Download URL ovos_plugin_linguonnx-0.3.3a1.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d54e4c5682499938ea21dc3f555335a77634fc8392be8453490f070baa6a9946
BLAKE2b-256 checksum
How to use checksums
c4cacbaf88fa5fda649d2dbc24f169b4ccfdae7cfb3e3cf0d4a4e2dee24bf061
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.3a1-py3-none-any.whl

Download URL ovos_plugin_linguonnx-0.3.3a1-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
346596d39ec2b86a7da8cd685c96abbe469f3463aaf9437a944578ae6378e8b0
BLAKE2b-256 checksum
How to use checksums
10f95688ce617766a04be88f79cf9ba514cc79f2c8a3c9827998e8b7dd618b2d
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