schema_version: 3 provider: chain name: text-readability-score version: 0.1.0 # Composite readability score for any text — Flesch (DE-adapted) # + Verweistiefe + verb-distance. # # Reuse-lens: any project that wants to flag "this text is hard # to read" — government letters, AGB, scientific abstracts. provides: - capability: text.readability_score version: 0.1.0 inputs: norm: type: json description: en: NormalizedNorm (output of text.akoma_normalize). de: NormalizedNorm (Output von text.akoma_normalize). graph: type: json optional: true description: en: Optional citation graph from graph.citation_extract — used to compute Verweistiefe. de: Optionaler Zitationsgraph aus graph.citation_extract — für Verweistiefe. outputs: score: type: json description: en: | { flesch_de: 0..100, depth_index: 0..10, composite_frust: 0..10 }. de: | { flesch_de: 0..100, depth_index: 0..10, composite_frust: 0..10 }. permissions: []