unable to preserve words using nlpaug
i am using nlpaug for augmentation wanted to retain the format of few entities,but unable to do.
text = "My phone number is +44(123)-1451-1231ext02 and my credit card is 1234-1235(2352), my policy number is 1234-12CAR-12 and my account number is 004421234-12"
def keyboard_aug():
protected_entities = ["+44(123)-1451-1231ext02", "1234-1235(2352)", "1234-12CAR-12", "004421234-12"]
aug = nac.KeyboardAug(stopwords=protected_entities)
augmented_text = aug.augment(text)...