Command-line interface (CLI) and library to normalize English texts.
Project description
english-text-normalization
Command-line interface (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.
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{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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938b327138e2631b4e6e23ded653abfc57d83a24a12e79317127e3645326e0c3 |
|
MD5 | a3e8454c714d2b23ebd2dea3b5a8797a |
|
BLAKE2b-256 | 1b31dd385f0b523166d4cb279d9a525ef8c9f67b077c95187755a6cc35607fa9 |
Close
Hashes for english_text_normalization-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37c3e649a8230b72a25112c500d44e1f7e0baf1b41490d6b272f0a53361dba9e |
|
MD5 | ced3b2378f95a03c18720774066ff79a |
|
BLAKE2b-256 | 00cdacdbe0dcee69f47289d03524bd9f46b7c8c306a05870335f21725f4633ac |