pip install NLPTextAugmentation
Please check in tests/test.py
This is a tool for text augmentation on parallel corpora with methods like EDA, Sentences Boundary, Swap, Replace, ...