Open DeepankarVyas opened 1 month ago
Heads up is that you need three backticks ``` to highlight a large code block, not just one.
I don't know anything about the R interface to CoreNLP. I would check the output of the interface to make sure it's actually starting CoreNLP with the OpenIE annotator as a first pass.
Hi @AngledLuffa ,
Thanks for the heads up.
I think it is starting CoreNLP, as annotateString(text)
is successfully annotating the text. It's just the triplet extraction that's creating issues. Could it be due to some missing annotators?
P.S- I manually downloaded the stanford-corenlp-4.5.7
, and can't seem to find .Properties file in the package. Not sure if that's the issue.
Regards
Sounds good. So, I would first try to check that the OpenIE model is actually part of the annotators loaded when R is creating the pipeline to interface to. It should show up in the output from the pipeline, if the R interface allows for piping the output.
Personally I have zero experience with the R interface and suggest testing that out yourself rather than relying on help from us. You could also find the authors of the R interface and ask them how to check the OpenIE package
I am working on extracting triplets from an annotated string, but the code's returning NULL. Here is the code used:-
This is the output:-
Stanford core NLP used- stanford-corenlp-4.5.7 R version - R version 4.3.1
Is it an issue with the way CoreNLP is initialised or something else? Any help is appreciated.
Regards.