什么是翻译文本数据的一个大的量的最佳方法是什么? [英] What is the best way to translate a big amount of text data?

查看:148
本文介绍了什么是翻译文本数据的一个大的量的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多的文本数据,并希望将它翻译成不同的语言。

I have a lot of text data and want to translate it to different languages.

可能的方法,我知道了:

Possible ways I know:

  • 在谷歌翻译API
  • 在必应翻译API

的问题是,所有这些服务对文本长度,呼叫的数量等,这使得它们inconveniente在使用中的限制。

The problem is that all these services have limitations on text length, number of calls etc. which makes them inconveniente in use.

什么样的​​服务/方法,你可以指点在这种情况下使用?

What services / ways you could advice to use in this case?

推荐答案

我在与一个XMPP聊天服务器集成语言翻译,解决了同样的问题。我分配我的有效载荷送入完整的句子中较小的子集(我需要翻译的文本)。我不能记得确切的数字,但与谷歌的基于REST的翻译网址,我翻译了一套较为完整的句子,共有小于(或等于)1024个字符,这样一个大的段落会导致多个翻译服务电话。collectivly具有

I had to solve the same problem when integrating language translation with an xmpp chat server. I partitioned my payload (the text i needed to translate) into smaller subsets of complete sentences. I cant recall the exact number but with googles rest based translation url, i translated a set of completed sentences that collectivly had a total of less than (or equal to) 1024 characters, so a large paragraph would result in multiple translation service calls.

这篇关于什么是翻译文本数据的一个大的量的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆