dict-from-annotation-0.0.2
توضیحات
Command-line interface (CLI) to create a pronunciation dictionary based on annotations.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | dict-from-annotation-0.0.2 |
| نام | dict-from-annotation |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | ['Stefan Taubert'] |
| ایمیل نگهدارنده | ['pypi@stefantaubert.com'] |
| نویسنده | Stefan Taubert |
| ایمیل نویسنده | pypi@stefantaubert.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/dict-from-annotation/ |
| مجوز | MIT |
# dict-from-annotation
[](https://pypi.python.org/pypi/dict-from-annotation)
[](https://pypi.python.org/pypi/dict-from-annotation)
[](LICENSE)
[](https://pypi.python.org/pypi/dict-from-annotation/#files)

[](https://github.com/stefantaubert/dict-from-annotation/compare/v0.0.2...master)
Command-line interface (CLI) to create pronunciation dictionaries based on manual annotations.
## Installation
```sh
pip install dict-from-annotation --user
```
## Usage
```sh
dict-from-annotation-cli
```
## Example
```sh
# 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.1`
- `pronunciation_dictionary>=0.0.4`
- `ordered_set>=4.1.0`
- `tqdm`
## 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:
```bibtex
@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}}
}
```
نیازمندی
| مقدار | نام |
|---|---|
| >=0.0.1 | iterable-serialization |
| >=0.0.4 | pronunciation-dictionary |
| >=4.1.0 | ordered-set |
| - | tqdm |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl dict-from-annotation-0.0.2:
pip install dict-from-annotation-0.0.2.whl
نصب پکیج tar.gz dict-from-annotation-0.0.2:
pip install dict-from-annotation-0.0.2.tar.gz