4

I am trying to use Stanford's OpenIE (version 3.6.0) to extract relation triples based on a NER model I trained in chemistry domain. However, I couldn't have OpenIE to extract relation triples based on my own NER model. It seems OpenIE extracts relation triples based only on the default NER models provided in the package.

Below are what I've done to train and deploy my NER model:

  1. Train the NER model based on http://nlp.stanford.edu/software/crf-faq.html#a.
  2. Deploy the NER model in CoreNLP server and then restart the server. I modified the props attribute in corenlpserver.sh. The props attribute now looks like below:

    props="-Dner.model=$scriptdir/my_own_chemistry.ser.gz,edu/stanford/nlp/models/ner/english.all.3class.distsim.crf.ser.gz"

Please take a look at an example NER + OpenIE results here. In this example, I expect that OpenIE builds the relation triples on the entities (such as Cl, Br, and Windjana) recoginized by my NER model, but it doesn't. Is it possible to have OpenIE extract relation triples based on a self-trained NER model? If so, would you please give me some breif instructions on how?

Thanks in advance!

Steven
  • 61
  • 5
  • Contacted the author of OpenIE, and the author confirmed that OpenIE more or less ignored NER altogether. Hope this can help others who have the same quesiton. – Steven Dec 20 '16 at 23:59
  • Steven, can you create a separate answer and mark them accepted. It will make it easier for other people to read at a glance and increase the likelihood for the answer to be featured as top result in similar searches – Random Joe Feb 13 '17 at 04:42

1 Answers1

2

Contacted the author of OpenIE, and the author confirmed that OpenIE more or less ignored NER altogether. Hope this can help others who have the same question.

Steven
  • 61
  • 5