Introduction
tmx-to-text allows convert TMX files into plain text and to get information.
This tool be used for example to:
- Extract translations memories into text file for spell checking or post-editing
- Extract corpuses into text files for traning machine learning similar
The following command will extract the Catalan and Italian texts out of the TMX file:
tmx-to-text convert -f ca-it.tmx -s ca -t it
Running the application with -h shows the options avaiable for the info and convert commands.
usage: tmx-to-text info [-h] -f TMX_FILE
optional arguments:
-h, --help show this help message and exit
-f TMX_FILE TMX file to show info
usage: tmx-to-text convert [-h] -f TMX_FILE -s SOURCE_LANG -t TARGET_LANG [-p PREFIX] [-d] [-x] [-a]
optional arguments:
-h, --help show this help message and exit
-f TMX_FILE TMX file to convert
-s SOURCE_LANG, --source_lang SOURCE_LANG
Source language to export
-t TARGET_LANG, --target_lang TARGET_LANG
Target language to export
-p PREFIX, --prefix PREFIX
Filename prefix used in the generated text files
-d, --debug Debug memory and execution time
-x, --nodup_source Remove duplicates based on source
-a, --nodup_target Remove duplicates based on target
Metadata
Release files for tmx-to-text 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| tmx-to-text-0.1.8.tar.gz | 6.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tmx_to_text-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / tmx-to-text-0.1.8.tar.gz
| Download URL | tmx-to-text-0.1.8.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ae6c320a5e243e3671695a1ab65ee19fe14fe58fe1a978b1f9e15454b51efce
|
|
BLAKE2b-256 checksum How to use checksums |
9f59b6594fc5a460f60ff83b911af475dda32bb5dad589359f8fc81e86085cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Release files / tmx_to_text-0.1.8-py3-none-any.whl
| Download URL | tmx_to_text-0.1.8-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecd90c7bb403b31dbecd54eb2f45c95b6c6ac088b11db446c6b8877af36297d4
|
|
BLAKE2b-256 checksum How to use checksums |
6db9ae7b0923744a703db3e5b6bf8838b8f2f7813bdf3a4d1435818093c1bc94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Security for tmx-to-text 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.