Skip to content

zhangcongle/NewsSpikeRe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

NewsSpikeRe

To start with, you should install

To compile the system:

To predict relations in the parsed sentences "data/test", by using the model "data/scale/model"

  • java -Xmx10g -cp target/classes:target/lib/* edu.washington.nsre.extraction.NewsSpikePredict data/scale/model data/test data/scale/predict

Here are the commands to parse sentences to the same format of data/test (the output file is data/preprocess/tuples)

  • java -Xmx10g -cp target/classes:target/lib/* edu.washington.nsre.figer.ParseStanfordFigerReverb data/preprocess/text data/preprocess/parsed
  • java -Xmx10g -cp target/classes:target/lib/* edu.washington.nsre.figer.Parsed2Tuple data/preprocess/parsed data/preprocess/tuples

Here is the script to learn a relation extraction model with a few tagged words:

  • java -Xmx10g -cp target/classes:target/lib/* edu.washington.nsre.extraction.NewsSpikeCandidate data/scale/nsre.conf

We get data/scale/keywordsAnnotation after annotating data/scale/keywordsUnlabeled, then:

  • java -Xmx10g -cp target/classes:target/lib/* edu.washington.nsre.extraction.NewsSpikeExtractor data/scale/nsre.conf

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages