get_jyutping
Convert Cantonese text to Jyutping romanization. Get pronunciation for each character with tone numbers.
Instructions
Convert Cantonese text to Jyutping romanization.
Returns the Jyutping pronunciation for each character in the input text. Jyutping is the standard romanization system for Cantonese, where each syllable ends with a tone number from 1-6 (with 7-9 for entering tones).
Args: text: Cantonese text to convert (Traditional or Simplified Chinese)
Returns: Dictionary with the original text and a list of character-pronunciation pairs
Example: Input: "你好" Output: {"text": "你好", "jyutping": [["你", "nei5"], ["好", "hou2"]]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |