3
Does anyone know how to make (in Prolog) the semantic representation of a phrase like:
Pedro was kissed by Ana.
... so that the semantic representation is the same as the active voice:
Ana has kissed Pedro.
3
Does anyone know how to make (in Prolog) the semantic representation of a phrase like:
Pedro was kissed by Ana.
... so that the semantic representation is the same as the active voice:
Ana has kissed Pedro.
Browser other questions tagged prolog
You are not signed in. Login or sign up in order to post.
I did not understand the question. Normally this would be represented by the fact
beijou(ana, pedro), in both cases. Do you want to convert natural language phrases to the same canonical format, type using DCG? If so, I can explain in an answer. Otherwise, please explain your question better.– mgibsonbr
Thank you. I have found the answer. It goes through the elevation of quantifiers.
– José António Rodrigues Carmo