normalize_text
Convert Unicode text to a specified normalization form (NFC, NFD, NFKC, NFKD). Ensures consistent character encoding for comparison or storage.
Instructions
Normalize Unicode text to NFC, NFD, NFKC, or NFKD form.
Parameters:
text — Text to normalize.
form — Normalization form: 'nfc' (default), 'nfd', 'nfkc', or 'nfkd'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| form | No | nfc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |