Skip to content

Instantly share code, notes, and snippets.

@Nithilaa
Created July 31, 2021 12:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Nithilaa/d22df796f9b31eb6ccf1634529661040 to your computer and use it in GitHub Desktop.
aug = naw.SplitAug(name='Split_Aug', aug_min=1, aug_max=10, aug_p=0.3, min_char=4, stopwords=None, tokenizer=None,
reverse_tokenizer=None, stopwords_regex=None, verbose=0)
test_sentence_aug = aug.augment(test_sentence)
print(test_sentence)
print(test_sentence_aug)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment