A translation quality package
Project description
Installation:
pip install dataframetranslationscoring
Usage:
Given two folder paths , the translation_quantitative_scoring() function will return a dictionary with translation quality scores. Example:
import pandas as pd
import dataframetranslationscoring.scoring import translation_quantitative_scoring
metrics = translation_quantitative_scoring(original_dataframe_path="folder1/*.csv", translated_dataframe_path="folder2/*.csv")
This will return a dictionary with the following keys:
{'words_percentage': 'X%',
'characters_percentage': 'X%',
'non_null_percentage': 'X%',
'total_characters': X,
'total_words_translated': 'X',
'total_words_available': 'X'}
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
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 dataframetranslationscoring-0.0.6.tar.gz.
File metadata
- Download URL: dataframetranslationscoring-0.0.6.tar.gz
- Upload date:
- Size: 52.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fdcad91e659e119f2d7906166bb851dcafee4b04cd5968f30a2ae979c11adf3
|
|
| MD5 |
69494adea55a05340d2f50128dac3563
|
|
| BLAKE2b-256 |
ee28ef8e589555ca1dd43789de86faaddc0be34d4075f06f5a3a7961e82391fc
|
File details
Details for the file dataframetranslationscoring-0.0.6-py3-none-any.whl.
File metadata
- Download URL: dataframetranslationscoring-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfd6364371e34e1e015dd669145badbfdedec64d9493bbf4a9322c1258252fe9
|
|
| MD5 |
6bd5c34b25037701106a7a03919e24e3
|
|
| BLAKE2b-256 |
2f3396c8000d97f6f9ccf66e71cc9620212e26b32a26718461c072a3bee8a31d
|