This release is a pre-release and may not be stable for production use.
ovos-translate-server-plugin
An OVOS plugin for language detection and translation. It sends requests to ovos-translate-server and returns the result. The server does the work. This plugin is the client.
It registers two OVOS plugin manager entry points:
ovos-lang-detector-plugin-server: detects the language of a text.ovos-translate-plugin-server: translates text into a target language.
Other OVOS components use these plugins to translate utterances and texts on demand, for example solvers and ovos-bidirectional-translation-plugin.
Install
pip install ovos-translate-server-plugin
Usage
Add this to your OVOS configuration file (for example ~/.config/mycroft/mycroft.conf):
"language": {
"detection_module": "ovos-lang-detector-plugin-server",
"translation_module": "ovos-translate-plugin-server",
"ovos-lang-detector-plugin-server": {
"host": "http://24.199.127.142:9686"
},
"ovos-translate-plugin-server": {
"host": "http://24.199.127.142:9686"
}
}
The host key sets the server address. It takes a single URL or a list of URLs. Give a list to spread requests across several servers and to add a fallback if one server goes down.
If you omit host, the plugin uses its own list of public servers.
Other config keys:
timeout: request timeout in seconds. Default: 5.skip_detection(translation plugin only): skip automatic source-language detection when no source language is given. Default: false.
Related projects
- ovos-translate-server: the server this plugin talks to.
- ovos-bidirectional-translation-plugin: a consumer of this plugin.
- ovos-plugin-manager: the plugin framework this project implements.
License
Apache-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_translate_server_plugin-0.0.8a3.tar.gz.
File metadata
- Download URL: ovos_translate_server_plugin-0.0.8a3.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bd81291ff7d6c1b6360bd5e9c8ee1a78aee76ce1d8f820dba2e00a367674665
|
|
| MD5 |
8785855f6e1a67c1f01bd530ffd99a1e
|
|
| BLAKE2b-256 |
2e56aae20305f771508118eabe727bdceb6a7348076ed352475dda0e5c7f6bc4
|
File details
Details for the file ovos_translate_server_plugin-0.0.8a3-py3-none-any.whl.
File metadata
- Download URL: ovos_translate_server_plugin-0.0.8a3-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d64a6572169bcb868f9c7af8b373235c1f4007746c2836919a18fc675c6e02fc
|
|
| MD5 |
01674e10ac66cacdc5078dbfd0f2db11
|
|
| BLAKE2b-256 |
ba0b484e9e62177761be4faeb0be94839a2d69a5d539a2a89dedcc5ba1eb505c
|