english-text-normalization

Command-line interface (CLI) and library to normalize English texts.
Installation
pip install english-text-normalization --user
Usage as CLI
norm-eng-cli list-operations -h
norm-eng-cli normalize -h
Usage as a library
from english_text_normalization import *
Development setup
sudo apt update
sudo apt install python3-pip \
python3.8 python3.8-dev python3.8-distutils python3.8-venv \
python3.9 python3.9-dev python3.9-distutils python3.9-venv \
python3.10 python3.10-dev python3.10-distutils python3.10-venv \
python3.11 python3.11-dev python3.11-distutils python3.11-venv \
python3.12 python3.12-dev python3.12-distutils python3.12-venv
python3.8 -m pip install pipenv --user
git clone https://github.com/jasminsternkopf/english_text_normalization.git
cd english_text_normalization
python3.8 -m pipenv install --dev
Running the tests
cd english_text_normalization
python3.8 -m pipenv shell
tox
Final lines of test result output:
py38: commands succeeded
py39: commands succeeded
py310: commands succeeded
py311: commands succeeded
py312: commands succeeded
congratulations :)
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 generated by GitHub (see About => Cite this repository).
Sternkopf, J. and Taubert, S. (2024). english-text-normalization (Version 0.0.3) [Computer software]. https://doi.org/10.5281/zenodo.10555229