【发布时间】:2019-06-05 16:10:02
【问题描述】:
假设我有这样的话语:“我的名字是 John James Doe”
{
"rasa_nlu_data": {
"common_examples":
[
{
"text": "My name is John James Doe",
"intent": "Introduction",
"entities": [
{
"start": 11,
"end": 25,
"value": "John James Doe",
"entity": "Name"
}
]
}
],
"regex_features" : [],
"entity_synonyms": []
}
}
这里的子字符串 John James Doe 是一个类型为 Name 的复合实体,具有 3 个简单实体(First Name、Middle Name、Last Name),如下所示:
- 约翰 - 名字(简单实体)
- James - 中间名(简单实体)
- Doe - 姓氏(简单实体)
那么,在 RASA 中是否有任何内容可供我制作用于处理这些复合类型实体的训练格式。
感谢您的帮助。
【问题讨论】: