Get started

Custom error filters

Updated

Like custom error mappings, custom error filters let you customize Sapling. Filters tell Sapling to ignore certain suggestions.

Where to add filters

  • Personal filters: open the Language settings page in your Sapling dashboard and go to Custom Error Filters.
  • Team filters: in the team dashboard, open Team settings > Language settings. Team members with edit access can add filters for the whole team.

Add a filter

Suppose you want to ignore suggestions that change "In" to "Within" at the start of sentences. Type In in Input and Within in Output, check Case Sensitive, and click Add. You should end up with something like this:

The Custom Error Filters form with a filter from In to Within

To ignore every suggestion of "Within", no matter what the original text is, leave Input empty and type Within in Output. To ignore every suggestion for a certain input, no matter the output, do the reverse.

CSV uploads

You can add filters in bulk by uploading a CSV file.

Format requirements:

  • Don't include a header row. Every row with at least two columns is added as a filter. Empty rows are skipped.
  • The first column is the Input field.
  • The second column is the Output field.
  • The optional third column is the Case Sensitive field. Use T for case sensitive or F for not case sensitive.
  • Rows with an empty first column are skipped. To match any input, use * as the input instead.
  • Values are split on commas, so don't use commas inside a value, and don't wrap values in quotes.

Example:

In,Within,T
*,Within,F

Upload procedure:

  1. Click Select CSV and pick your file.
  2. Click Upload.

Each row's case sensitivity comes from its third column. The Case Sensitive checkbox next to the form doesn't apply to uploads.