CLI and library to normalize English texts.
Project description
english-text-normalization
CLI and library to normalize English texts.
Installation
pip install english-text-normalization --user
Usage as CLI
# Show supported normalizing operations
norm-eng-cli list-operations -h
# Normalize
norm-eng-cli normalize -h
Usage as a library
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.
Citation
If you want to cite this repo, you can use this BibTeX-entry:
@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}}
}
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for english-text-normalization-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eb5e3117361e1ef61a44de5d2bdf9681443d500ae6b16a1b50dc4a47523b6e6 |
|
MD5 | b11c3bf2719761600050556db537c4e5 |
|
BLAKE2b-256 | 461c08b7fc8052b38c5383d397d08412e974d7cfaa950cfdf16c11539a555b7d |
Close
Hashes for english_text_normalization-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c11abd1ddc18df2f855f4f6cdd4006b4de854f2d133da4421056f82868f3b959 |
|
MD5 | 294dc155b1ffae97ef5f5e515afd5c22 |
|
BLAKE2b-256 | 90c6c0479c0b9735c17b7d39d6af7fdbcccf81dee301eab5a98312a8bcb7a86f |