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-1.0.0.tar.gz
(3.0 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-1.0.0.tar.gz.
File metadata
- Download URL: mt_thresholds-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
123445c54d738dd24b5d160bf4049c7dea5ce3e8b11872a8e8f970224dc758a9
|
|
| MD5 |
119ab6709d41c541713ec80883b0fe54
|
|
| BLAKE2b-256 |
b2fc2b95096ef565e600dfcfde257bccaf3b713537cba6002d1e1a7ed461f519
|
File details
Details for the file mt_thresholds-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mt_thresholds-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.3 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 |
0c1ed126da8425463e9abafb92e1b6aef0a4f28afac512254e6a7a24c637002a
|
|
| MD5 |
6424c8c59014b99664a56efa2a8bbe1c
|
|
| BLAKE2b-256 |
e30dcbdb8b78f539cf10d93e6fc07fa23ee246d6a2dd65f9bdfb55ffffae4037
|