Coreference Resolver

From Knowitall
Revision as of 00:46, 15 December 2011 by Namos (talk | contribs)

Jump to: navigation, search

Running Coref From the Command Line

Use run.sh in the coref project. Run it with no parameters to see the options usage.

Running the Web Demo

  • Code under coref-webapp folder in java projects directory
  • To start up, run "mvn jetty:run"

Using Coref as a Library

  • Under the coref project, look at StanfordCorefResolver's main method for example usage.
  • Call resolve on a document after loading in document text (can be loaded in line by line or as a string in the constructor)
  • Call getResolvedExtractions to retrieve all extractions (some will be changed and some not). Take a look at ResolvedExtraction class, there is a method that allows you check if it has been changed or not.

Final Write-up

[1]