character_repetition_filter

Official

Filter text by character repetition ratio within specified range.

Authorcas-bigdatalab
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the issue of filtering text samples based on the character-level n-gram repetition ratio, which helps users manage and clean repetitive content efficiently.

Core Features & Use Cases

  • Character-level Repetition Filtering: Identifies and filters text samples where character-level n-gram repetition ratios fall outside of a specified range.
  • Use Case: Ideal for cleaning up excessively repetitive text, improving data quality, and preparing text for analysis by removing redundancy.

Quick Start

Run the skill to filter text in the 'input.json' file, excluding characters with a repetition ratio between 0.0 and 0.4.

Dependency Matrix

Required Modules

data_juicer

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: character_repetition_filter
Download link: https://github.com/cas-bigdatalab/piflow/archive/main.zip#character-repetition-filter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.