2020-11-27

Instance Info given a Propbank Sense Using NLTK?

I am trying to get more information about specific sense of a verb using NLTK and Propbank tags.

I have a string representing a sense of a verb: e.g. "run.01". This is a Propbank sense/frameset. How do I actually access information (arguments and their meanings, e.g. arg0, arg1) about the frameset programmatically? I think that the only way to do this is to recover the instance to which the sense belongs.

There doesn't seem to be a function for this. Is there a way other than an O(N) string comparison loop of sorts?

I am looking at the official documentation.

Thanks.



from Recent Questions - Stack Overflow https://ift.tt/3qfhJVE
https://ift.tt/eA8V8J

No comments:

Post a Comment