how can I Get Chinese Romanization from google API with JSON

前端 未结 1 2017
长情又很酷
长情又很酷 2021-01-28 18:41

I want to translate English to Chinese and I got that working, but I also need Chinese Romanization. I.e., God should translate to to 神 as well as Shén; I couldn\'t get Shén. Ho

相关标签:
1条回答
  • 2021-01-28 18:54

    I just have made minor changes to goslate (an unofficial API for google translator) to made it able to get the romanised translation, and named it goslater. I hope google give us this funcionality in the future, but for now, you can download goslater here:

    https://sites.google.com/site/javialamo/python/mis-programas/modulos/goslater

    https://github.com/javialamo/goslater

    Hope it helps

    0 讨论(0)
提交回复
热议问题