Created
June 18, 2018 17:06
-
-
Save darrensapalo/fcebfd4d2a9ac79f20287a9b81b5da4e to your computer and use it in GitHub Desktop.
Semantic parsing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%%% This output was generated by the following command: | |
%%% /home/gingerbeard/candc/bin/boxer --stdin --semantics fol | |
%%% I want food | |
id(1,1). | |
fol(1,some(A,and(n1person(A),some(B,some(C,and(r1theme(B,C),and(r1agent(B,A),and(v1want(B),n1food(C))))))))). | |
First order logic representation | |
There exists some A | |
and that A | |
is a person | |
There exists some B | |
There exists some C | |
and | |
there is a relation/theme/frame between B and C | |
Where A (person) is the agent of event B | |
and B is a verb, the event 'want' | |
and C is a noun, the direct object 'food' | |
fol( | |
1, | |
some( | |
A, | |
and( | |
n1person(A), | |
some(B, | |
some(C, | |
and( | |
r1theme(B,C), | |
and( | |
r1agent(B,A), | |
and( | |
v1want(B), | |
n1food(C) | |
) | |
) | |
) | |
) | |
) | |
) | |
) | |
). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment