rasa nlu 中是否有通配符实体?

Is there wildcard entity in rasa nlu?

我需要提取自由文本实体,例如:

"Can you research for coconut nut is not a nut"

那么实体应该是"coconut nut is not a nut"。

所以并没有真正准确的实体。在 Wit、dialogflow 和 luis 中,它们使用通配符(@sys.any、wit/local_search_query ...)。

rasaNLU中有这样的通配符吗?我在文档中找不到预建实体列表...

谢谢。

Rasa NLU 与其他实体没有任何区别:实体可以跨越多个单词,因此您可以将其注释为:

Can you research for [coconut nut is not a nut](query) (降价格式)

对于 built-in 个实体,您可以使用 duckling and spaCy NER components