Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

API for Chinese to pinyin or Cantonese to jyutping

tshmak
New Member

I noticed that if we make a Chinese translation request via the official translate page, e.g.:

https://translate.google.com/?sl=zh-CN&tl=en&text=%E4%B8%80%E5%80%8B%E5%AF%A6%E9%A9%97&op=translate

in the Chinese textbox, the pinyin of the text will show up. Does anyone know if there's an API which I can call to get that pinyin from Chinese text? 

I've tried the translate API, and it doesn't seem to be part of the response. 

0 1 1,161
1 REPLY 1