Skip to main content

We are highly thankful to Dr. Paul Buitelaar, Dr. Omnia Zayed, Dr. Mihael Arcan, Dr. John McCrae and Janet Choi. This module was built during 5th week CRT-AI training (NLP week) at National University of Ireland, Galway)

Project description

Inspired by state-of-the-art data augmentation technique, RandAug, we propose Text random data augmentation, that use randAug approach for text data. Any issue faced by you should be reported to i141637@nu.edu.pk Description of function is parameteres: training original: is input file in txt format, each line have a label separated from sentence by tab output file: output file path alpha_sr: parameter for controlling replacement alpha_ri: parameter for controlling random insertion
alpha_rs: parameter for controlling random swaping alpha_rd: parameter for controlling random deletion num_aug: is number of augmentation, by default 9. Examples with demo will soon be released, (Under progress)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TextRandAug-0.0.4.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

TextRandAug-0.0.4-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file TextRandAug-0.0.4.tar.gz.

File metadata

  • Download URL: TextRandAug-0.0.4.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.2

File hashes

Hashes for TextRandAug-0.0.4.tar.gz
Algorithm Hash digest
SHA256 6022213dfc12ae478fdb23d3e3d7dcf4f18a72c9c8a1a002ed9213d23cffad23
MD5 01d7506d1093040996d195c6bcf6416f
BLAKE2b-256 9b145d78279eafd5cfaea578f1df4a437bb4bbc9192192485a38fedf1c9f53d3

See more details on using hashes here.

File details

Details for the file TextRandAug-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: TextRandAug-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.2

File hashes

Hashes for TextRandAug-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 95f5ab4dae6a56e60fe4ef33f81693ece38eea9e3cdb6d77f236e9455f692f8f
MD5 d46dd3b3008292e1e6c8005dabebc72c
BLAKE2b-256 ba24cf240c9e761df3f2440674858ee2f869d65b524e036b032de9a6f291cbab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page