english-text-normalization-0.0.2
توضیحات
Command-line interface (CLI) and library to normalize English texts.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | english-text-normalization-0.0.2 |
| نام | english-text-normalization |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | ['Stefan Taubert <stefan.taubert@posteo.me>'] |
| نویسنده | - |
| ایمیل نویسنده | Jasmin Sternkopf <jasmin.sternkopf@mathematik.tu-chemnitz.de>, Stefan Taubert <stefan.taubert@posteo.me> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/english-text-normalization/ |
| مجوز | MIT |
# english-text-normalization
[](https://pypi.python.org/pypi/english-text-normalization)
[](https://pypi.python.org/pypi/english-text-normalization)
[](https://github.com/jasminsternkopf/english_text_normalization/blob/main/LICENSE)
[](https://pypi.python.org/pypi/english-text-normalization/#files)

[](https://github.com/jasminsternkopf/english_text_normalization/compare/v0.0.2...main)
Command-line interface (CLI) and library to normalize English texts.
## Installation
```sh
pip install english-text-normalization --user
```
## Usage as CLI
```sh
# Show supported normalizing operations
norm-eng-cli list-operations -h
# Normalize
norm-eng-cli normalize -h
```
## Usage as a library
```py
from english_text_normalization import *
```
### Methods
- `expand_abbreviations`
- `normalize_am_and_pm`
- ...
### Dependencies
- `pyenchant`
- `nltk`
- `inflect`
## Contributing
If you notice an error, please don't hesitate to open an issue.
## 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{stetn22,
author = {Sternkopf, Jasmin and Taubert, Stefan},
title = {english-text-normalization},
year = {2022},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/jasminsternkopf/english_text_normalization}}
}
```
نیازمندی
| مقدار | نام |
|---|---|
| - | pyenchant |
| - | nltk |
| - | inflect |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl english-text-normalization-0.0.2:
pip install english-text-normalization-0.0.2.whl
نصب پکیج tar.gz english-text-normalization-0.0.2:
pip install english-text-normalization-0.0.2.tar.gz