Advertisement
Guest User

Configuration file for Author Intrusion

a guest
Jul 29th, 2019
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.76 KB | None | 0 0
  1. content:
  2.   pattern: chapters/chapter-??.markdown
  3. query:
  4.   fields:
  5.     locs:
  6.       jmes: locations[] | sort(@) | join(', ', @)
  7.     characters.secondary:
  8.       jmes: characters.secondary[] | sort(@) | join(', ', @)
  9. checks:
  10.   - type: clustered
  11.     threshold: { warn: 3, err: 5 }
  12.     range: { around: 15 }
  13.     compare:
  14.       operations:
  15.         - type: filter_list
  16.           filter: [Chimípu, Tateshyúso, Rutejìmo, Pidòhu]
  17.         - type: lowercase
  18.         - type: filter_non_words
  19.         - type: filter_list
  20.           filter: [he, she, it, a, an, and, to, his, hers, him, them, i, as, of, in, me, there, the, for, you, it to, her, too, out]
  21.         - type: replace_regex
  22.           search: ^(\w+)(?:ed|ing)$
  23.           replace: $1
  24.   - type: require_epigraph
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement