Translates text
Project description
Translator
This repo contains wrapper code for the most performant translation model.
Currently NLLB.
Features
- Only translates unique sentences
- Checks if input is not empty
- Preprocesses sentences before translation
- Postprocesses translations
- Batch processing
- Automatic language detection
- Only translates sentences where the source language does not match the target language
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lmtranslator-0.0.10.tar.gz
(8.1 kB
view details)
Built Distribution
File details
Details for the file lmtranslator-0.0.10.tar.gz
.
File metadata
- Download URL: lmtranslator-0.0.10.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efe22362e27efeb89a64e711e8045e9a2547b260425e650de4318bf4afbbdfc5 |
|
MD5 | 0fecccc204384813f659e4939d6f2a96 |
|
BLAKE2b-256 | 999a9178a2c09295063d0c0a9db6cd3c9274eb90cea025c3ee359df950edc2cb |
File details
Details for the file lmtranslator-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: lmtranslator-0.0.10-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7824da92fa277ffb430fd2ba34235c32b5072463a81c0c2289204ba52568d0f |
|
MD5 | d625341e4ee1dbd044082343259a146a |
|
BLAKE2b-256 | f3cf6bf7d19be5dc936a3f7f8be4bfb57d419b42fe7b45288c49c65d5608f013 |