我希望单个单词中的多个单词,其中一个单词与另一个单词匹配。 [英] i want to multiple word in a single in which one word matches with another entity.

查看:116
本文介绍了我希望单个单词中的多个单词,其中一个单词与另一个单词匹配。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里是senario -

here is the senario-

实体1列表类型值" test"

entity 1 list type value "test"

entity 2 simple

entity 2 simple

我想将测试联系人列表设置为实体2但是测试被自动选为实体1我如何更改和设置"测试联系人列表"?作为实体2.

i want to set test contact list as entity 2 but test is auto selected as entity 1 how can i change and set "test contact list" as entity 2.

推荐答案

您好,

我认为您的用例非常合适对于
复合实体
。添加话语后,选择您标识的实体并选择"Wrap in composite entity";然后移动光标以突出显示需要包装的文本。 

I think your use case is a good fit for a composite entity. Once you add your utterance select your identified entity and choose "Wrap in composite entity" and move your cursor along to highlight the text that needs to be wrapped. 

以下是您的方案示例。

1。我创建了一个列表实体list_entity,其值为'test'

1. I created a list entity list_entity with value 'test'

2。我创建了一个简单的实体simple_entity

2. I created a simple entity simple_entity

3。添加了一个话语"测试联系人列表"。意图 

3. Added a utterance "test contact list" for a intent 

4。选择"测试"或list_entity标识并选择"包装在复合实体中"并移动光标以选择需要包装的文本,并为复合实体提供名称。现在它应该提示选择要添加的其他
实体,选择simple_entity并保存。

4. Select the "test" or list_entity identified and choose "wrap in composite entity" and move your cursor to select the text that needs to be wrapped and provide a name to the composite entity. Now it should prompt to select the other entity to be added, select simple_entity and save.


这篇关于我希望单个单词中的多个单词,其中一个单词与另一个单词匹配。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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