Usage
cyeam phonetic <word>
cyeam --pretty phonetic <word>
By default, outputs a JSON envelope,data contains word、uk_phonetic、us_phonetic and definitions. Use --pretty to output human-readable text.
Examples
cyeam phonetic hello
cyeam --pretty phonetic "C++"
The lookup relies on the Youdao Dictionary web page; when the network is unavailable, the word does not exist, or the page cannot be parsed, the command returns an error.