Textmentations

Latest version: v1.4.0

Safety actively analyzes 702684 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

1.0.1

1.0.0

- v0.0.3 and v1.0.0 are identical.
- v0.0.3 has many breaking chages, so v0.0.3 -> v1.0.0.

0.0.3

Breaking changes
- Renamed all transforms. (please see a list of augmentations in README.md)
- Renamed `*_probability` parameter to `*_prob`.

Bug fixes
- Added `typing-extension` in install requirements.

New augmentations
- [`AEDA`](https://github.com/Jaesu26/textmentations/blob/v0.0.3/textmentations/augmentations/transforms.py#L12) - Randomly inserts punctutaions in the input text.
- [`RandomInsertion`](https://github.com/Jaesu26/textmentations/blob/v0.0.3/textmentations/augmentations/transforms.py#L199) - Repeats n times the task of randomly inserting synonyms in the input text.

Minor changes
- The punctuation marks in the text only treat periods.
- All transforms now deal only with synonyms of words that are not stop words.
- Improved type annotation.

0.0.2

Minor Changes

- [`RandomSwapWords`](https://github.com/Jaesu26/textmentations/blob/v0.0.2/textmentations/augmentations/transforms.py/#L129) and [`RandomSwapSentences`](https://github.com/Jaesu26/textmentations/blob/v0.0.2/textmentations/augmentations/transforms.py/#L157) now support `n_times` parameter for multiple exchanges.

0.0.1

Initial release

Please refer to README.md.

Page 3 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.