john-slop/examples/config/editorial.toml

29 lines
613 B
TOML

# Named overlay selected with `--config-name editorial`. It is applied after the
# user-wide config.toml and before an explicit `--config` file.
[thresholds]
low = 15
medium = 40
high = 70
[[rules]]
id = "templated-filler"
weight = 2.0
# Scope is one value, so supplied arrays replace the embedded scope arrays.
[[rules]]
id = "assistant-self-identification"
[rules.scope]
content = ["prose"]
extensions = ["md", "txt"]
include = ["articles/**", "docs/**"]
exclude = ["docs/quoted-transcripts/**"]
skip_generated = true
skip_vendor = true
skip_minified = true
[[replacements]]
id = "en-dash"
enabled = false