---
title: "Lookup Dictionary Examples"
method: POST
path: "/dictionary/examples"
---

# Lookup Dictionary Examples

`POST /dictionary/examples`

Lookup Dictionary Examples

## Query parameters

- `from` string, required
- `to` string, required
- `api-version` string, required

## Headers

- `X-ClientTraceId` string

## Request body

- DictionaryExampleTextItem[]
  - `text` string, required — Text to translate.

## Response `200`

Response for the dictionary examples API.

- DictionaryExampleItem[]
  - `normalizedSource` string, required — A string giving the normalized form of the source term. Generally, this should be identical to the value of the Text field at the matching list index in the body of the request.
  - `normalizedTarget` string, required — A string giving the normalized form of the target term. Generally, this should be identical to the value of the Translation field at the matching list index in the body of the request.
  - `examples` DictionaryExample[], required — A list of examples for the (source term, target term) pair.
    - `sourcePrefix` string, required — The string to concatenate before the value of sourceTerm to form a complete example. Do not add a space character, since it is already there when it should be. This value may be an empty string.
    - `sourceTerm` string, required — A string equal to the actual term looked up. The string is added with sourcePrefix and sourceSuffix to form the complete example. Its value is separated so it can be marked in a user interface, e.g., by bolding it.
    - `sourceSuffix` string, required — The string to concatenate after the value of sourceTerm to form a complete example. Do not add a space character, since it is already there when it should be. This value may be an empty string.
    - `targetPrefix` string, required — A string similar to sourcePrefix but for the target.
    - `targetTerm` string, required — A string similar to sourceTerm but for the target.
    - `targetSuffix` string, required — A string similar to sourceSuffix but for the target.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/translation-texttranslation.md) · [All operations](https://skmtc.net/azure/apis/translation-texttranslation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/translation-texttranslation/versions/6316202fc2bb/schema)
