CoolFace
Datasetpublic

UTSNLPGroup/PCR-ToxiCN

PCR-ToxiCN PCR-ToxiCN is a 500-example Chinese dataset for testing how well models spot offensive language hidden by phonetic cloaking (homophones and near-homophones). Field Type Notes text string Original Xiaohongshu comment offensive_label int 1 = offensive, 0 = non-offensive (250 / 250) strategy string HR, AR, NR, or MR Strategy What it is Example HR Hanzi replacement “沸物” → “废物” AR Alphabet / pinyin “SB” → “傻逼” NR Numerals as sounds “4”… See the full description on the dataset page: https://huggingface.co/datasets/UTSNLPGroup/PCR-ToxiCN.

sourceHugging Faceupdated 1y agoView on Hugging Face
6likes70downloads
Dataset Card

PCR-ToxiCN

PCR-ToxiCN is a 500-example Chinese dataset for testing how well models spot offensive language hidden by phonetic cloaking (homophones and near-homophones).

FieldTypeNotes
textstringOriginal Xiaohongshu comment
offensive_labelint1 = offensive, 0 = non-offensive (250 / 250)
strategystringHR, AR, NR, or MR
StrategyWhat it isExample
HRHanzi replacement“沸物” → “废物”
ARAlphabet / pinyin“SB” → “傻逼”
NRNumerals as sounds“4” (sì) → “死”
MRMixed tricks“4万” → “死完”

Quick use

python
from datasets import load_dataset
ds = load_dataset("UTSNLPGroup/PCR-ToxiCN", split="full")

Code

Code on GitHub: HTG13503/PCR-ToxiCN

Contributors

Haotan Guo, Jianfei He, Jiayuan Ma, Hongbin Na, Zimu Wang, Haiyang Zhang, Qi Chen, Wei Wang, Zijing Shi, Tao Shen, Ling Chen

Citation

bibtex
@article{guo2025lost,
  title={Lost in Pronunciation: Detecting Chinese Offensive Language Disguised by Phonetic Cloaking Replacement},
  author={Guo, Haotan and He, Jianfei and Ma, Jiayuan and Na, Hongbin and Wang, Zimu and Zhang, Haiyang and Chen, Qi and Wang, Wei and Shi, Zijing and Shen, Tao and Chen, Ling},
  journal={arXiv preprint arXiv:2507.07640},
  year={2025},
  url={https://arxiv.org/abs/2507.07640}
}