使用谷歌翻译库/浏览器翻译句子(谷歌翻译)

2024-06-16 10:07:58 发布

您现在位置:Python中文网/ 问答频道 /正文

我用谷歌翻译库翻译一些东西的句子

from googletrans import Translator
translator = Translator(service_urls=[
      'translate.google.com'])

ceviri = translator.translate('Moreover, as time goes by, businesses have recognized the importance of the acquisition of new data than creation from at least existing information.',dest='tr')

print(ceviri.text)

我在浏览器(https://translate.google.com/)上使用谷歌翻译来翻译类似的句子。给出了不同的输出

为什么有两种不同的输出

谷歌图书馆不是最新的吗


Tags: ofthefromimportcomservicegoogleurls