# zhanlaoban/EDA_NLP_for_Chinese

An implement of the paper of EDA for Chinese corpus.中文语料的EDA数据增强工具。NLP数据增强。论文阅读笔记。

Repository: https://github.com/zhanlaoban/EDA_NLP_for_Chinese
Canonical: https://ross.abutalabs.com/products/eda_nlp_for_chinese
Language: Python
License Family: other
Topics: eda, data-augmentation, chinese-data-augmentation, chinese, easy-data-augmentation, text-classification
Last push: 2022-05-31T05:46:50+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2718, "days_push": 1555, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1382, forks 236 (observed 2026-08-28T04:04:34.403157+00:00)

## What it is
A Python implementation of the EDA (Easy Data Augmentation) paper adapted for Chinese text corpora. It augments labeled text classification datasets via synonym replacement, random insertion, random swap, and random deletion using jieba segmentation and Chinese synonym/stopword resources.

## Use cases
- augment a small Chinese text classification training set
- generate synthetic Chinese sentences with synonym replacement
- expand labeled corpus for training a text classifier
- apply random swap and deletion to Chinese sentences
- boost text classification accuracy with limited data

## When to choose
- you need data augmentation for Chinese-language text classification
- you want a simple CLI tool following the EDA paper
- your corpus is small and classifier overfits

## When to avoid
- your text is not Chinese (use the original eda_nlp)
- you need context-aware or neural augmentation
- you need an actively maintained library with a license

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, data-generation, machine-learning
- domain: machine-learning, localization
- platform: python, cli
- tags: data-augmentation, easy-data-augmentation, chinese-nlp, text-classification, synonym-replacement, natural-language-processing

## Member repositories
- zhanlaoban/EDA_NLP_for_Chinese (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:34.403157+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:08.915710+00:00, confidence not recorded.
  - readme: https://github.com/zhanlaoban/EDA_NLP_for_Chinese (fetched 2026-08-28T04:04:34.403157+00:00, sha c7359b2cf43b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
