Microsoft Translator Service可以将上下文作为翻译的参数吗? [英] Can Microsoft Translator Service take context as a parameter for translation?

查看:92
本文介绍了Microsoft Translator Service可以将上下文作为翻译的参数吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道 Microsoft翻译服务可以将上下文作为翻译的参数. 例如,我想将运行"一词翻译为运行计算机程序",而不是在轨道上运行".

I am wondering if Microsoft Translator Service can take context as a parameter for translation. For example, I want to translate the word "run" as in "run a computer program", but not "run on a track".

推荐答案

  1. 带上下文翻译
  2. 检索与相关单词对齐的翻译短语: https ://docs.microsoft.com/azure/cognitive-services/translator/word-alignment

为失败的操作做好准备:个别单词并非总是1:1转换.仅适用于英文.

Be prepared for the operation to fail: There aren't always 1:1 translations of individual words. Works only from and to English.

这篇关于Microsoft Translator Service可以将上下文作为翻译的参数吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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