Difference between revisions of "Coreference Resolver"

From Knowitall
Jump to: navigation, search
(Created page with "==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 f...")
 
Line 10: Line 10:
 
* 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 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.
 
* 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==
 +
[[Media:coref-writeup.pdf]]

Revision as of 00:41, 15 December 2011

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

Media:coref-writeup.pdf