Repository

makcedward/nlpaug

Data augmentation for NLP
3770 416 39 203
  • 000
import nlpaug.augmenter.word as naw aug = naw.ContextualWordEmbsAug() text="Transformers are the most popular toys" print(f"original text:{text}") print(f"Augmented text: {aug.augment(text)}") original text:Transformers are the most popular toys RuntimeError Traceback (m...