简体   繁体   English

如何用python将词从任何一种语言翻译成任何一种语言?

[英]How to translate word to word with python from any language to any language?

I am aware of the Google Api, and the library "translate" that uses MyMemory and Microsoft as providers. 我知道Google Api和使用MyMemory和Microsoft作为提供程序的库“ translate”。 But these libraries focuses on translating sentences more than words and they have huge usage limitations. 但是这些库比单词更着重于翻译句子,并且它们有很大的使用限制。

Is there a library in python that I am not aware that is able to handle just single words but with no user limitation? 我不知道python中是否有一个库可以处理单个单词但没有用户限制?

For example nltk offers a huge english corpus. 例如,nltk提供了庞大的英语语料库。 How can I translate each word in italian? 如何翻译意大利语中的每个单词?

Thanks! 谢谢!

Look at the yandex-translate module. 查看yandex-translate模块。 It allows you a million characters a day, which amounts to about 90 000 words. 它每天可以为您提供100万个字符,总计约9万个字。 I am using as the primary translator and will then look at the untranslated ones with either Google or MyMemory. 我将用作主要翻译器,然后使用Google或MyMemory查看未翻译的翻译器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 获取任何语言的单词的所有Wikipedia含义 - Get all Wikipedia meanings of a word in any language Python - 确定单词是否使用此语言 - Python - Determine if a word is in this language or not 如何使用编码参数将单词/句子翻译成虚构的语言? - How to translate a word/sentence into an imaginary language using coded parameters? Unicode 语言的 Python 3 字数统计 - Python 3 Word Count by Unicode Language 如何在python中逐行查找列中的任何单词是否与另一列中的任何单词匹配 - How to find if any word in a column matches any word from another column by row in python 如何在python中将字符从任何语言转换为各自的unicode? - How to convert characters from any language to their respective unicode in python? 使用 Python 或任何其他脚本语言按行中的特定唯一单词分割大文件并删除这些段中的重复项 - Segment out large file by specific unique word in line and remove duplicates within those segements using Python or any other scriping language Python 2.7:正则表达式 - 匹配任何语言的任何字母 - Python 2.7: regex - match any letter from any language 蟒蛇。 使用单词列表中的任何单词分割字符串 - Python. Split string using any word from a list of word 从python中的任何文档制作单词列表 - Make a word list from any document in python
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM