Skip to main content

Random augmentation for text, Thanks to NLP week, 5th week training of CRT-AI, Professors and organizers, 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. 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.3.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.3-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: TextRandAug-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 0e4269f0cf7724912dddd95b519c6407d2139cfe99348f455037fbece082ff41
MD5 f8f34125779d2daecd8d9cbd5435b6bc
BLAKE2b-256 7c2d21b8dd89b4274bf301286916bb2b1e03ed3a58476ea017c98a352d3e03dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: TextRandAug-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4da95b85e7d87e6b50edc978dccedeb1e3958d7334391a3be34000c1ad85af42
MD5 da7ac86c3d491d874385b981b5434d1a
BLAKE2b-256 45446e1f0247d24574bc4d9823a06b84559848403bdd94e9c33f9d7e0d76ea27

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