Created
July 31, 2021 12:13
-
-
Save Nithilaa/d2927b29e64db57ce854ed62eceb55dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aug = naw.AntonymAug(name='Antonym_Aug', aug_min=1, aug_max=10, aug_p=0.3, lang='eng', stopwords=None, tokenizer=None, | |
reverse_tokenizer=None, stopwords_regex=None, verbose=0) | |
test_sentence_aug = aug.augment("very beautiful") | |
print("very beautiful") | |
print(test_sentence_aug) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment