问题描述
我正在尝试开发一个多语言聊天应用程序,它可以使用Python将任何文本从一种语言转换为另一种语言。
我尝试了几种解决方案而我发现Microsoft Bing Translate Api是我的要求的完美解决方案。
我发布这个问题并一起回答,因为我认为它可以帮助其他人。
我尝试了什么:
我试过谷歌翻译和微软翻译,我有发现Microsoft Translate Api比其他人稍微好一点。
希望我找到的解决方案对类似的要求有用,请在下面找到。
I am trying to develop a Multi language Chat application which can convert any text from one language to another using Python.
I have tried couple of solutions and I found the Microsoft Bing Translate Api a perfect solution for my requirement.
I am posting this question and answer together since I thought it might help others.
What I have tried:
I have tried Google translate and Microsoft Translate, I have found Microsoft Translate Api as slightly better than the others.
hope the solution I found will be useful for similar requirements, please find it below.
这篇关于使用Microsoft translate API将文本从一种语言转换为另一种语言的Python代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!