Skip to main content

Random augmentation for text, Thanks to NLP week Professors and organizers, Prof.Dr. Paul Buitelaar, Dr. Omnia Zayed, Dr. Mihael Arcan, Dr. John McCrae and Janet Choi 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

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.2.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.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: TextRandAug-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b7e39febd8768f6a0429caa57dce04bf4b63d6ba63aaa097b0daa0d47628fc8b
MD5 e2688776ecb9bf7acc0edb2758e4919f
BLAKE2b-256 da34653a68e50c5c6a2c6e536faf69975f7d4e92090ffd2a15b8a79a5e4d02d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: TextRandAug-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c17465b8d4a9801333936a7acb399e1e0d4d982a25528ae23a65f76887a06057
MD5 ded5f1eb035a0b52d125712d073a2f7d
BLAKE2b-256 708837252dd95d5478c0f55a10faf9a2c10cbaa58c26a3d7cafecc73d0276241

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