arabic_normalize_text
Normalize Arabic text by unifying Alef and Yaa variants, removing Tatweel, and stripping diacritics to produce consistent, searchable text.
Instructions
Normalizes Arabic text by unifying character variants (Alef, Yaa), removing Tatweel, and stripping diacritics.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "arabic_normalize_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The raw Arabic text to normalize. | |
| unify_taa | No | Unify Taa Marbuta (ة) into ه. | |
| unify_yaa | No | Unify final Yaa (ى) into ي. | |
| unify_alef | No | Unify all Alef variants (أ, إ, آ, ٱ) into ا. |