replace

Learn how to create static suggestions for your rules.

func replace(match string) []string

replace returns an array of user-provided replacements.

action:
  name: replace
  params:
    - option1
    - option2
    ...

Rules that extend substitution or capitalization will automatically populate the params array, so you can simply provide the name:

action:
  name: replace

suggest remove