ccg2lambda
ccg2lambda copied to clipboard
predicate-argument extractor
Hi, do you have a integrated predicate-argument extractor? Or is there any way to write it easily?
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