Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

predicate-argument extractor #24

Open
siebeniris opened this issue Jul 4, 2019 · 1 comment
Open

predicate-argument extractor #24

siebeniris opened this issue Jul 4, 2019 · 1 comment

Comments

@siebeniris
Copy link

Hi, do you have a integrated predicate-argument extractor?
Or is there any way to write it easily?

@masashi-y
Copy link
Collaborator

masashi-y commented Jul 9, 2019

Hi, I think it is possible to write a code to traverse the output logical form of ccg2lambda and collect predicates and their arguments, but no one has tired that yet.

If what you are interested in is so called semantic role labels, how about using EasySRL (https://github.com/uwnlp/EasySRL), which is optimized for that specific task?

By the way, there are scripts to convert the logical formula to ones in other formats, e.g. DRS.
You may be able to modify them to obtain what you are expecting...
https://github.com/mynlp/ccg2lambda/blob/master/scripts/nltk2drs.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants