-
Notifications
You must be signed in to change notification settings - Fork 24
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
Coreference resolution #5
Comments
Hi, The reference resolution is OK. The "problem" is in the format of the xml generated by Boxer. In your example ("John is here. He is speaking" ), Boxer knows "He" refers to "Jhon" (it keeps an attribute named variable which have the same values for both tokens), but it still keeps others attributes for the token "He" such as symbol (symbol=male), type (type=n), etc. I implemented a function to modify the xml in order to replace the attributes by the ones of the target token. In the example, all attributes of "Jhon" will be the same for "He". Below two examples of outputs of Boxer before and after the call to the new function. I) Robert is driving the car. He is running in the street. AFTER II) The car is old. It was used by Peter. AFTER However, apparently, this change doesn't have consequences in the pipeline since the other functionalities of Knews doesn't used the modified attributes. They only use the attribute "variable" which is like an ID for each token. That new function could be useful for new features of Knews. |
@roquelopez do you know how to use the API to generate a Boxer DRS output in XML format from a .txt file. |
By default, the option "resolve" of Boxer is turned off. This means that KNEWS misses a lot of references, e.g. "John is here. He is speaking" -> John is the Agent of Speaking.
The option "resolve" is on and working when using the online version of Boxer but it doesn't work with the local version. And it should.
The text was updated successfully, but these errors were encountered: