watson软件使用

It is very common to implement a conversational assistant in multiple languages. Let’s say you have built a customer service assistant. One of the requirements may be to support additional languages, such as Arabic and Spanish, to accommodate your customer base. Often, I am asked how best to manage multiple skills, formerly called workspaces, in IBM Watson Assistant to achieve this goal. Though complete automation is a non-trivial task, there are ways this can be managed with some automation. Below are some suggestions to get you on your path.

用多种语言实现会话助手是很常见的。 假设您已经建立了一个客户服务助理。 要求之一可能是支持其他语言,例如阿拉伯语和西班牙语,以适应您的客户群。 通常,我被问到如何最好地管理IBM Watson Assistant中的多种技能(以前称为工作区)以实现此目标。 尽管完全自动化是一项艰巨的任务,但是有一些方法可以通过某种自动化来管理。 以下是一些建议,可以助您一臂之力。

Let’s assume you have built your Watson Assistant in the English language. Now you need to build the Arabic version of the assistant. The first thing you should do is review the list of supported languages and features for your languages of interest. Each language does not support all features. For example, contextual entities are supported in English but not in Arabic. So just be mindful of those feature differences and account for them accordingly.

假设您已经用英语构建了Watson Assistant。 现在,您需要构建助手的阿拉伯版本。 您应该做的第一件事是查看感兴趣的语言支持的语言和功能的列表。 每种语言都不支持所有功能。 例如,上下文实体受英语支持,但不受阿拉伯语支持。 因此,请注意这些功能差异并相应地解决它们。

Next, you need to export your English skill from Watson Assistant. Before you do that, you want to make sure that the “Irrelevance detection” option is set to “Keep existing”. There is an enhanced capability to detect irrelevant topics, however as of this post, it is only available in English. If this is not set properly, the import of your skill will throw an error later.

接下来,您需要从Watson Assistant中导出您的英语技能。 在执行此操作之前,您要确保将“不相关检测”选项设置为“保持存在”。 增强了检测不相关主题的功能,但是,截至本文发布之时,它仅提供英语版本。 如果设置不正确,那么您的技能导入将在以后引发错误。

Irrelevance detection option
不相关检测选项

Now you are ready to export your English skill. Go to your “Skills” section in Watson Assistant, click on the ellipsis and then select “Export”. This will export your skill to a json file.

现在,您可以准备导出您的英语技能了。 转到Watson Assistant中的“技能”部分,单击省略号,然后选择“导出”。 这会将您的技能导出到json文件。

Export your dialog skill
导出您的对话技巧

Open that json file in your text editor of choice and look for the language parameter. Change the ‘en’ to the target language of your choice. In this case, ‘ar’ for the Arabic language. You can find the appropriate value for your language here.

在您选择的文本编辑器中打开该json文件,然后查找language参数。 将“ en”更改为您选择的目标语言。 在这种情况下,阿拉伯语为“ ar”。 您可以在此处找到适合您的语言的值。

Once you have made the change, save the json file. Go back to Watson Assistant, create a new dialog skill and select the “Import skill” option. Then point to your newly modified json file, which contains the Arabic language value. Watson Assistant will build your new skill with the core language set to Arabic.

进行更改后,保存json文件。 返回Watson Assistant,创建新的对话技能,然后选择“导入技能”选项。 然后指向您新修改的json文件,其中包含阿拉伯语的值。 Watson Assistant将使用设置为阿拉伯语的核心语言来培养您的新技能。

To be clear, what you now have, is a copy of your English skill. It has all the dialog, intents, etc, still in the English language. But it is inside the context of an Arabic skill according to Watson Assistant. Note that there are additional bidirectional language preferences that you can optionally configure in an Arabic skill.

明确地说,您现在拥有的是您的英语技能的副本。 它具有所有对话框,意图等,仍为英语。 但根据Watson Assistant的说法,这是在阿拉伯语技能的背景下。 请注意,您还可以选择使用阿拉伯语技能配置其他双向语言首选项 。

Translate Content

翻译内容

The next step is to translate all your textual content from English to Arabic. There are two major steps in this process. The first step is getting the content translated. The second step is updating the skill with the translated content. There are several ways you can go about doing this.

下一步是将所有文本内容从英语翻译成阿拉伯语。 此过程有两个主要步骤。 第一步是翻译内容。 第二步是使用翻译后的内容更新技能。 您可以通过多种方式执行此操作。

One automation option is to use IBM Watson Language Translator to translate all your text from English to Arabic. You would need to write a script to extract the relevant text from your English skill’s json file to process those through the Watson Language Translator service. Those results need to be stored somewhere such as a data store or a temporary location — I’ll discuss this in the next section. Remember, this is a conversational use case. English and Arabic are wildly different languages in their form and origin (I speak Arabic, so I know firsthand :) . I would highly suggest having a native Arabic resource (who also speaks, reads and writes English fluently) review all the translations to ensure that the context is optimal for conversation.

一种自动化的选择是使用IBM Watson Language Translator将您所有的文本从英语翻译成阿拉伯语。 您将需要编写脚本以从英语技能的json文件中提取相关文本,以通过Watson Language Translator服务处理这些文本。 这些结果需要存储在某个地方,例如数据存储或临时位置,我将在下一部分中讨论。 请记住,这是一个对话用例。 英文和阿拉伯文在形式和来源上是完全不同的语言(我说阿拉伯语,所以我是第一手知道的:)。 我强烈建议您使用阿拉伯文的母语(他也会说流利的英语和英语)阅读所有翻译,以确保上下文适合进行对话。

Another option would be to have a native Arabic resource manually translate the content. You would need to create a data store, such as a spreadsheet, that contains all your dialog structure, intents, etc. The resource can use this to review the content and add their translations. Using an external data store will make it much easier to manage your skills for purposes like this.

另一种选择是让本地阿拉伯语资源手动翻译内容。 您将需要创建一个数据存储区(例如电子表格),其中包含您所有的对话框结构,意图等。资源可以使用它来查看内容并添加其翻译。 使用外部数据存储将可以更轻松地管理您的技能,以实现此类目的。

Updating Content

更新内容

Now that you have the content translated, the ideal scenario would be to trigger a process to have all the content automatically updated in your skill, in Watson Assistant. This is certainly achievable but requires some work to create a program that will take the new Arabic translations from your data store or temporary storage and update the English equivalents. You can programmatically apply the updates to your skill json file. You need to have an organized and detailed data store that contains a key reference (eg dialog node ID) to ensure this is done smoothly.

现在,您已经翻译了内容,理想的情况是在Watson Assistant中触发一个过程,以使用您的技能自动更新所有内容。 这当然是可以实现的,但需要做一些工作来创建一个程序,该程序将从您的数据存储区或临时存储区中获取新的阿拉伯语翻译,并更新英语等效语言。 您可以以编程方式将更新应用于技能json文件。 您需要有一个组织化且详细的数据存储,其中包含一个关键参考(例如,对话框节点ID),以确保顺利进行。

Another option is to do this manually in Watson Assistant. It would not be the most exciting task, yet it will get the job done. The resource who updates the content in Watson Assistant will still require the data store reference to know how to appropriately update the content.

另一个选择是在Watson Assistant中手动执行此操作。 这不是最激动人心的任务,但可以完成工作。 在Watson Assistant中更新内容的资源仍将需要数据存储引用来知道如何适当地更新内容。

The option that you decide on will depend on several factors such as your sizing of effort, resources available, etc.

您决定选择的选项取决于几个因素,例如您的工作量大小,可用资源等。

Managing Content Going Forward

管理内容前进

Once you define your process to translate your skills, you can use that approach to manage any updates going forward. There are other possible options out there to accomplish these tasks but these tips will help get you started on your path.

一旦定义了翻译技能的过程,就可以使用该方法来管理将来的所有更新。 还有其他可能的选项可以完成这些任务,但是这些提示将帮助您入门。

Marc is the CTO for IBM Watson AI Strategic Partnerships. When not leading the technology strategy and vision for IBM Partnerships, Marc enjoys DJing, playing video games and wrestling.

马克是 IBM Watson AI战略合作伙伴关系的首席技术官。 当不领导IBM合作伙伴关系的技术战略和愿景时,Marc喜欢DJ,玩视频游戏和摔跤。

翻译自: https://medium.com/ibm-watson/how-to-manage-multiple-languages-with-watson-assistant-a8eb0436d348

watson软件使用


http://www.taodudu.cc/news/show-863448.html

相关文章:

  • keras核心已转储_转储Keras-ImageDataGenerator。 开始使用TensorFlow-tf.data(第2部分)
  • 闪亮蔚蓝_在R中构建第一个闪亮的Web应用
  • 亚马逊训练alexa的方法_Alexa对话是AI驱动的对话界面新方法
  • nlp文本相似度_用几行代码在Python中搜索相似文本:一个NLP项目
  • 爬虫goodreads数据_使用Python从Goodreads数据中预测好书
  • opengl层次建模_层次建模简介
  • 如何用dds实现线性调频_用神经网络生成线性调频
  • azure_Azure ML算法备忘单
  • 矩阵乘法如何去逆矩阵_矩阵乘法和求逆
  • 机器学习数据倾斜的解决方法_机器学习并不总是解决数据问题的方法
  • gan简介_GAN简介
  • 使用TensorFlow训练神经网络进行价格预测
  • 您应该如何改变数据科学教育
  • r语言解释回归模型的假设_模型假设-解释
  • 参考文献_参考文献:
  • 深度学习用于视频检测_视频如何用于检测您的个性?
  • 角距离恒星_恒星问卷调查的10倍机器学习生产率
  • apache beam_Apache Beam ML模型部署
  • 转正老板让你谈谈你的看法_让我们谈谈逻辑回归
  • openai-gpt_GPT-3报告存在的问题
  • 机器学习 凝聚态物理_机器学习遇到了凝聚的问题
  • 量子计算 qiskit_将Tensorflow和Qiskit集成到量子机器学习中
  • throw 烦人_烦人的简单句子聚类
  • 使用NumPy优于Python列表的优势
  • 迷你5和迷你4区别_可变大小的视频迷你批处理
  • power bi可视化表_如何使用Power BI可视化数据?
  • 变形金刚2_变形金刚(
  • 机器学习 测试_测试优先机器学习
  • azure机器学习_Microsoft Azure机器学习x Udacity —第4课笔记
  • 机器学习嵌入式实现_机器学习中的嵌入

watson软件使用_使用Watson Assistant进行多语言管理相关推荐

  1. c语言考试软件最新版,全国等级考试二级C语言上机模拟软件下载_全国等级考试二级C语言上机模拟软件官方下载-太平洋下载中心...

    C 语言.VB.VFP 上机考试模拟系统需要系统上有安装 Microsoft Visual Studio 软件,特别注意:运行 C 语言 上机考试模拟系统前需安装Visual C++ 6.0: //d ...

  2. 文本识别综述 <软件学报_王建新等、中国图象图形学报_刘崇宇等>

    1 软件学报_王建新 基于时序特征分类的方法 基于时序特征分类的方法首先利用卷积网络将图像转换为图像特征序列,然后采用循环神经网络或者卷积网络将图像特征序列识别为字符概率预测序列.鉴于图像特征序列长度 ...

  3. unity怎么导入系统的树_Unity5.0_树_软件教程_资源库

    摘要:Unity5.0_树_软件教程_资源库 树 Unity 的地形引擎 (Terrain Engine) 为树 (Trees) 提供 特殊支持.您可以在地形 (Terrain) 上放置上千棵树,然后 ...

  4. unity 加载关卡_Unity5.0_Application.isLoadingLevel 正在加载关卡_软件教程_资源库

    摘要:Unity5.0_Application.isLoadingLevel 正在加载关卡_软件教程_资源库 Application.isLoadingLevel 正在加载关卡? static var ...

  5. R语言使用lm函数构建线性回归模型、使用lrtest包的dwtest函数执行残差自相关检验Durbin–Watson检验(Autocorrelation Durbin–Watson Test)

    R语言使用lm函数构建线性回归模型.使用lrtest包的dwtest函数执行残差自相关检验Durbin–Watson检验(Autocorrelation Durbin–Watson Test) 目录

  6. maya对象属性_Maya2014全面使用手册_了解每粒子属性和每对象属性_软件教程_资源库...

    摘要:Maya2014全面使用手册_了解每粒子属性和每对象属性_软件教程_资源库 相关视频教程学习推荐: 造型设计<鹫>造型上色完整流程[实名认证] 5,777人在学 总时长:27h 可以 ...

  7. colab清理gpu缓存_Maya2014全面使用手册_GPU 缓存首选项(GPU Cache Preferences)_软件教程_资源库...

    摘要:Maya2014全面使用手册_GPU 缓存首选项(GPU Cache Preferences)_软件教程_资源库 相关视频教程学习推荐: 造型设计<鹫>造型上色完整流程[实名认证] ...

  8. 软件项目管理_第4章 IT项目管理范围

    软件项目管理_第4章 IT项目管理范围 第4章 IT项目管理范围 单元测验 第4章 IT项目管理范围 单元测验 1单选(1分) 1. 是指包括生产项目产品及用于生产产品的过程的所有工作. C A.(A ...

  9. python自学需要下载软件吗_编程入门先学什么软件 想要自学编程,先学的Python,需要下载什么软件,有什么推荐课程吗?...

    编程入门自学需要什么软件? 那要看你学啥语言了,如果java,就选eclipse,editplus.如果是c语言,我建议选择,vs或者C-FREE,python的话,我就不太清楚了.我个人基本不用py ...

最新文章

  1. 《抓住听众心理——演讲者要知道的100件事》一20.人们学习的最优长度是20分钟...
  2. php 查找点,在多边形PHP中查找点
  3. Python 面向监狱编程,就靠它了
  4. Q_INIT_RESOURE
  5. Windows11 发布更新 Insider Preview Build 22000.100
  6. 信息学奥赛一本通(2039:【例5.6】冒泡排序)
  7. realme进军中国 目标做行业主流手机品牌
  8. Docker-pull
  9. eclipse写javaee的时候js文件新增函数找不到
  10. ANTLR实现的SQL解析器 - OQL
  11. 台式计算机是32位还64位,电脑系统装64位还是32位系统好?考虑这些才能正确安装...
  12. 百度地图开发点连线形成路径
  13. 描述对未来计算机的畅想用英语作文,一篇关于‘畅想未来‘的英语作文
  14. 关于偏度和峰度的解释(易错)
  15. HashMap的底层原理你真的知道?
  16. ubuntu展示点云使用boost::this_thread报错
  17. mysql聚簇索引和非聚簇索引
  18. 【原创】Xilinx:K7 DDR3 IP核配置教程
  19. win10 更新后无法访问共享文件夹
  20. c语言指针倒数之和,用C语言将一个数开根号后再取倒数的方法

热门文章

  1. 【PowerShell语音计算器】
  2. VTK 曲面构建+颜色映射
  3. 中国金融出版社出版的2016版《个人贷款》
  4. [嵌入式][分享][交流]发布一个消息地图的模块
  5. Redis学习笔记~是时候为Redis实现一个仓储了,RedisRepository来了
  6. (全部)2008重磅出击——微软Windows Server 2008实战攻略系列
  7. 基于Vue-cli和Vux的webpack配置
  8. 手机连接蓝牙扫码枪_原来手机蓝牙的隐藏功能这么多,你不会还只用来连接耳机吧?...
  9. python调用公共方法_common: 这是一个Python的公共工具类,集成了各种主要的python常用方法...
  10. LG P990开机黑屏,但能进入系统的解决办法