All checks were successful
CI / Linux x86_64 (Forgejo) (push) Successful in 1m40s
provides.capability _ -> - so it passes `chain validate` and the hub store name-match. No behaviour change (capability validation is lint-only; the WASM is unchanged). Signed-off-by: flemming-it <sf@flemming.it>
39 lines
1 KiB
YAML
39 lines
1 KiB
YAML
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: []
|