makcedward/nlpaug

Data augmentation for NLP

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 26 minutes ago
Added to GitGenius on September 14th, 2026
Created on March 21st, 2019
Open Issues & Pull Requests: 92 (+0)
GitHub issues: Enabled
Number of forks: 472
Total Stargazers: 4,667 (+0)
Total Subscribers: 41 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.0 hours
Mean response time: 23.5 hours
90th percentile: 37.1 hours
Tracked items: 2

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 345 days
Stale 30+ days: 4
Stale 90+ days: 4

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

nlpaug is a data augmentation library for NLP, audio, and spectrogram data that generates synthetic training examples to improve model performance.

The library addresses the challenge of limited training data by providing multiple augmentation techniques that can be applied to textual, audio, and spectrogram inputs. It works through two core abstractions: individual Augmenter objects that apply specific transformation strategies, and Flow pipelines that chain multiple augmenters together for complex augmentation workflows. This modular design allows developers to compose augmentation strategies suited to their specific datasets and model requirements.

The tool is designed for developers working on machine learning projects who need to expand their training datasets without manual data collection. It integrates with common machine learning and neural network frameworks through a plug-and-play interface, making it straightforward to incorporate into existing workflows. The library emphasizes simplicity and lightweight implementation, allowing augmentation to be applied in just a few lines of code. It supports textual data augmentation alongside audio and spectrogram augmentation, making it useful across different modalities of NLP and speech-related tasks.

The project maintains an offline-first testing approach with GitHub Actions coverage and targets Python 3.12 compatibility in its V2 baseline. Development activity shows attention to code quality standards and build reliability through continuous integration practices.