【发布时间】:2019-05-14 10:29:37
【问题描述】:
我有一个特定意图的示例也显示了实体,我希望模型能够识别可能是该特定意图的实体的其他单词,但它无法识别它。
## intent: frequency
* what is the frequency of [region](field)?
* what's the frequency of[region](field)?
* frequency of [region](field)?
* [region](field)s frequency?
* [region](field) frequency?
* frequency [region](field)?
## lookup: field
* price
* phone type
* region
所以当我输入文本“区域的频率是多少?”时我得到了输出
{'intent': {'name': 'frequency', 'confidence': 0.9517087936401367},
'entities': [{'start': 17, 'end': 23, 'value': 'region',
'entity': 'field', 'confidence': 0.9427971487440825,
'extractor': 'CRFEntityExtractor'}], 'text': 'What is the frequency of region?'}
但是当我输入文本“价格的频率是多少?”时我得到了输出
{'intent': {'name': 'frequency', 'confidence': 0.9276150465011597},
'entities': [], 'text': 'What is the frequency of price?'}
【问题讨论】: