# Custom error mappings

Your team may have a style guide or preferences that go beyond grammatical correctness. Use custom error mappings to enforce brand guidelines or a specific writing style for you and your team.

## Where to add mappings

- **Personal mappings:** open the [Language settings](https://sapling.ai/language_settings#mappings) page in your Sapling dashboard and go to **Custom Error Mappings**.
- **Team mappings:** in the team dashboard, open **Team settings** > **Language settings**. Team members with edit access can add mappings for the whole team.

Type the text to flag in **Error**, the replacement in **Change To**, and optionally a **Description**. Then click **Add**.

![The Custom Error Mappings form with Error, Change To and Description fields and a list of mappings](https://sapling.ai/static/img/help/custom-error-mappings-1.webp)

## Case sensitivity

By default, Sapling also matches an entry in title case and in all caps.

For example, for the entry `yoghurt -> yogurt`, Sapling also suggests:

- `Yoghurt -> Yogurt`
- `YOGHURT -> YOGURT`

To match only the exact capitalization you typed, check **Case Sensitive** before you click **Add**.

## Regular expressions

A couple of regular expression-like options are available:

- `^` and `$` match the start and end of a sentence. For example, `^the` only matches `the` at the start of a sentence, which you can use to enforce capitalization.
- `#` matches a number. For example, `Gate #` matches in `Boarding is at Gate 5`.

## Personal and team mappings

If a personal mapping and a team mapping cover the same text, your personal mapping takes precedence.

## Description

Use the **Description** field for compliance notes or other guidance. The description appears with the suggestion when Sapling flags the error.

![A Sapling suggestion card showing a custom description below the replacement](https://sapling.ai/static/img/help/custom-error-mappings-2.webp)

## CSV uploads

You can add mappings 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 mapping. Empty rows are skipped.
- The first column is the **Error** field.
- The second column is the **Change To** field.
- The optional third column is the **Description** field.
- The optional fourth column is the **Case Sensitive** field. Use `T` for case sensitive or `F` for not case sensitive.
- Values are split on commas, so don't use commas inside a value, and don't wrap values in quotes.

Example:

```
iphone,iPhone,,T
Volkswagon,Volkswagen,Check the brand name,F
```

Upload procedure:

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

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

---
Source: https://sapling.ai/help/custom-error-mappings (updated 2026-11-30). More articles: https://sapling.ai/help. Contact: support@sapling.ai
