IBM Watson Knowledge Studio-注释否定/否定的提及 [英] IBM Watson Knowledge Studio - Annotating negative / negated mentions

查看:109
本文介绍了IBM Watson Knowledge Studio-注释否定/否定的提及的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Watson Knowledge Studio注释提及时,经常会出现例如以下示例:

When annotating mentions using Watson Knowledge Studio, one often has examples such as:

我没有收到对...的反馈"或我从未收到任何反馈".

"I received no feedback from in response to ..." or "I have never received any feedback".

如果我要在上面注释提到的反馈",这是一个负面"的例子,即它是指未发生的事情.创建自定义实体类型系统时有两种可能性:

If I were to annotate the mention "feedback" in the above, it is an "negative" example, i.e. it refers to something that did not happen. There are two possibilities when creating a custom entity type system:

(a)在提及中包含否定字,即提及无反馈".在第二个示例中,这显然不起作用,因为在工作反馈之前没有否定项.

(a) Include the negator in the mention, i.e. "no feedback" is the mention. This clearly does not work in the second example, since there is no negator before the work feedback.

(b)不要在提及中包含否定符,而是使用提及类NEG(

(b) Do not include the negator in the mention, but add an attribute to the mention using the mention class NEG (https://www.ibm.com/watson/developercloud/doc/wks/wks_t_ts_intro.shtml)

很显然,选项(b)是更通用的方法.但是,一旦训练了模型,就需要能够提取未见示例的实体.为此,您必须使用自然语言理解API( https ://www.ibm.com/watson/developercloud/doc/natural-language-understanding/#entities ).

Clearly option (b) is the more general approach. However, once a model is trained one needs to be able to extract entities unseen examples. For this you have to use the Natural Language Understanding API (https://www.ibm.com/watson/developercloud/doc/natural-language-understanding/#entities).

使用此API时,似乎没有一种方法可以提取提及属性,即当我进行实体提取时,由于使用方法(b),我如何查看提及是否被否定不包括否定词作为提及的一部分?

When one uses this API, there doesn't seem to be a way to extract the mention attributes, i.e. when I do entity extraction, how do I see that a mention is negated or not, since using approach (b) you do not include the negator as part of the mention?

推荐答案

as I mentioned here IBM Watson Knowledge Studio - Entities with Role attribute and extracting it from NLU api currently mention attributes such as negation are not extractable in NLU.

这篇关于IBM Watson Knowledge Studio-注释否定/否定的提及的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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