Skip to content

Python library for augmenting text data with new modified samples based on existing samples.

License

Notifications You must be signed in to change notification settings

jsingh811/pyAugmentText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyAugmentText

Python library for augmenting text data with new modified samples based on existing samples.

from pyAugmentText.methods import synonyms_replacement

text_list = [
  "I love to go outdoors to ride my bike.",
  "Can you lend me some money for a few hours?"
]
new_list = []
for text in text_list:
  new_list.append(synonyms_replacement.replace_text(text, 3))

print(new_list)
# >> [' I love to giveuptheghost outdoors to tantalize my pedal.', ' tail you impart me some money for a few hour?']

About

Python library for augmenting text data with new modified samples based on existing samples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages