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
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
mt-thresholds-0.0.3.tar.gz
(2.7 kB
view details)
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 mt-thresholds-0.0.3.tar.gz.
File metadata
- Download URL: mt-thresholds-0.0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
315300ef50360aeb204141b79b914abb6c7f938f59b2003e1c86adc63ce835b3
|
|
| MD5 |
7171ec9e593824996c9a0c5bcaec9f5a
|
|
| BLAKE2b-256 |
485d4462c4fcfc1285343342ddd9bc0cc0c2aa04ea2d64d8d02f82d342167900
|
File details
Details for the file mt_thresholds-0.0.3-py3-none-any.whl.
File metadata
- Download URL: mt_thresholds-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96a650d2e0fbddeaae46390c4823301d092aea50d0071dec901f6413a22f1e18
|
|
| MD5 |
79c322fbdb1d600264cffab0db14bb1c
|
|
| BLAKE2b-256 |
1fea150cb4abfa8a15496cb7085a20fb14f3ab52f787d1c1c3561304ff0f6c28
|