协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
corpus-quality【开发与工程】Corpus-level quality, deduplication, structured output, validation, and evaluation guidance for Trafilatura web corpora.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a Trafilatura task is about many-page corpus quality rather than one-page extraction mechanics: duplicate removal, stable fingerprints or file names, XML/TEI/CSV/JSON corpus outputs, metadata completeness, TEI/XML validation, benchmark context, or deciding which quality checks are safe to run.
| Need | Use |
|---|---|
| Choose a corpus output format, validate JSON/CSV/XML/XML-TEI, or reason about metadata fields | references/data-formats-and-quality.md |
| Remove repeated boilerplate, detect exact duplicate segments, compute near-duplicate fingerprints, or use Simhash | references/deduplication.md |
| Decide whether to run the bundled smoke, safe native validation classes, the quality gate, or heavy benchmark comparisons | references/benchmarks-and-evaluation.md |
| Diagnose duplicate boilerplate, invalid XML/TEI, missing metadata, benchmark dependency gaps, or NLTK data issues | references/troubleshooting.md |
| Run a no-network executable check for this sub-skill's core assumptions | scripts/corpus_quality_smoke.py |
extract(), bare_extraction(), html2txt(), metadata extraction, or one-page API snippets, route to python-extraction first and return here only for corpus-quality choices.cli-batch-processing; this sub-skill only explains the corpus-quality consequences of those outputs.discovery-downloads.with_metadata=True enriches outputs; only_with_metadata=True drops documents missing title, date, or URL.deduplicate=True or Extractor(dedup=True).content_fingerprint() for content identity/similarity tracking, Simhash for thresholded near-duplicate comparisons, and hash-based names when the output path should reflect content.validate_tei() for XML-TEI, and run scripts/corpus_quality_smoke.py in an environment where Trafilatura is installed.