Tool to check how metric deltas for machine translation reflect on system-level human accuracies.
Project description
MT-Thresholds
Local version of the online tool. Use either from the command-line:
# accuracy is 63.989%
mt-thresholds bleu 1.00
# ChrF needs 0.710 difference for the same accuracy as BLEU
mt-thresholds chrf 0.63989 --delta
Or it can be used from Python:
import mt_thresholds
mt_thresholds.accuracy(1.0, "bleu") # 0.63989
mt_thresholds.delta(0.63989, "chrf") # 0.665
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mt_thresholds-1.0.2.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file mt_thresholds-1.0.2.tar.gz
.
File metadata
- Download URL: mt_thresholds-1.0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb46e04f8d12b077a06f49fb312621e9c77172ec74b56399826703851b554a2 |
|
MD5 | 1178aec6352a36ebd07a3876d74f54fc |
|
BLAKE2b-256 | ba37ab555242042cae9659e3ffe4ff2fc239fed7411d03e8676cd6e0f3deaa83 |
File details
Details for the file mt_thresholds-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: mt_thresholds-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef9079dfca1176deb6fbac41f522d4e13b50cfc017c1f0e451b13f9ba79388cc |
|
MD5 | 843d409549d4ce9e10a8bf0843ea2517 |
|
BLAKE2b-256 | d99969b38a956d5f2062eeaefa9ce8aa8b82331591b36f34afbeaecfa233acf1 |