我该如何解决这些概念依赖性问题?

时间:2020-04-25 10:49:16

标签: artificial-intelligence

写概念依赖性表示 以下语句:

John shot Mary.
John threw a ball to Mary.
John saw Mary
John ate a frog.
John went to New York.
John sold his car to Bill.
John killed Mary.
John threw a ball to Mary.
John saw Mary.
The ball fell from the roof.
Mary knows that Clinton is president.
John flew to New York.
John gave Mary a book by handing it to her.

有人可以帮我解决这个问题吗?

1 个答案:

答案 0 :(得分:1)

您可以将它们绘制为图表,也可以用Lisp样式括起来的表达式来表示。通常,第一个元素是CD理论中使用的语义原语,其后是可能的空格和填充符。您对PP(“图片制作者”,即名词组)规范的详细程度取决于您。

以下是约翰吃青蛙的示例:

(ingest (actor (person (name John)))
        (object (animal frog)
        (tense past))

对于从句,您需要在相应的插槽中有一个CD表示形式,如玛丽知道克林顿是总统

(mloc (actor (person (name Mary))
      (con (is (actor (person (name Clinton)))
               (state (president)))))

在隐含的主张中,担任总统并不是一个真正的“国家”,但我不知道有什么方法可以表达CD中的角色。 mloc基本上意味着克林顿担任总统的概念位于玛丽的意识中。