File size: 532 Bytes
4943752 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
""".. _augmentation:
TextAttack augmentation package:
=================================
Transformations and constraints can be used outside of an attack for simple NLP data augmentation with the ``Augmenter`` class that returns all possible transformations for a given string.
"""
from .augmenter import Augmenter
from .recipes import (
WordNetAugmenter,
EmbeddingAugmenter,
CharSwapAugmenter,
EasyDataAugmenter,
CheckListAugmenter,
DeletionAugmenter,
CLAREAugmenter,
BackTranslationAugmenter,
)
|