dict-from-annotation
Command-line interface (CLI) to create pronunciation dictionaries based on manual annotations.
Installation
pip install dict-from-annotation --user
Usage
dict-from-annotation-cli
Example
# Create example vocabulary
cat > /tmp/vocabulary.txt << EOF
Test?
abc,
/X|MM|L/
/X|MM||L/
EOF
dict-from-annotation-cli \
/tmp/vocabulary.txt \
/tmp/dictionary.dict \
--rest-out /tmp/rest_vocabulary.txt
cat /tmp/dictionary.dict
# -------
# Output:
# -------
# /X|MM|L/ X MM L
# -------
cat /tmp/rest_vocabulary.txt
# -------
# Output:
# -------
# Test?
# abc,
# /X|MM||L/
# -------
Dependencies
iterable-serialization>=0.0.1pronunciation_dictionary>=0.0.4ordered_set>=4.1.0tqdm
License
MIT License
Acknowledgments
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project-ID 416228727 – CRC 1410
Citation
If you want to cite this repo, you can use this BibTeX-entry:
@misc{tsdfa22,
author = {Taubert, Stefan},
title = {dict-from-annotation},
year = {2022},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/stefantaubert/dict-from-annotation}}
}
Metadata
Release files for dict-from-annotation 0.0.2
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 | Actions |
|---|---|---|---|---|
| dict-from-annotation-0.0.2.tar.gz | 9.4 kB | Without provenance | Details for dict-from-annotation-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dict_from_annotation-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for dict_from_annotation-0.0.2-py3-none-any.whl |
Total release size: 19.0 kB
Release files / dict-from-annotation-0.0.2.tar.gz
| Download URL | dict-from-annotation-0.0.2.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43f4d3bb3a1867b293a5e3fbc5f9e2a386ceca84c3a02aedda03aa243c478725
|
|
BLAKE2b-256 checksum How to use checksums |
bce56607883d68f87fd1533105a1fe3a70da560b09cee53088f2109ed7147840
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Release files / dict_from_annotation-0.0.2-py3-none-any.whl
| Download URL | dict_from_annotation-0.0.2-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cdc27273f2a90c40608cd3191c6d71a3d18dab855da2554bd839e4f7b9f36139
|
|
BLAKE2b-256 checksum How to use checksums |
c8673723c3219aa660f8e42914b0c17ad85d5c53a2686548290e370e1a94f07a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for dict-from-annotation 0.0.2
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.