Parse Pāli Word
parse_pali_wordStrips Pāli inflectional suffixes to return possible root stems for inflected words. Use before looking up definitions to handle case endings and other inflections.
Instructions
Strip Pāli inflectional suffixes to find the root form (basic stem).
💡 Use this tool when:
You find an inflected Pāli word (e.g.
dukkhassa,bhikkhūnaṁ) andget_word_definitiondoesn't find it directly — Pāli inflects nouns across 7 cases × 2 numbers, ~16 forms per root.You want to split a compound (
sammāsambuddhassa→sammā+sambuddha+-ssagenitive).You want to see possible stems before another
get_word_definitionlookup.
🔄 Recommended workflow:
parse_pali_word(inflected_form) → get possible_stems[] →
call get_word_definition(stem) per stem until you find a definition.
⚠️ Limitations:
Rule-based first-pass — strips common suffixes (case endings, vowel shortening). Not a full morphological analyzer.
Compound words (samāsa) are NOT split —
dukkhanirodhawon't be broken intodukkha+nirodha.Sandhi (sound junctions) like
tena ahaṁ → tenāhaṁaren't reversed.Returns possible stems — verify each via
get_word_definition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| word | Yes | An inflected Pāli word (e.g. "dukkhassa", "bhikkhūnaṁ", "sīlavā"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||