Closed sagarsanjeev closed 5 years ago
Are you getting any errors?
ya i tried the AttributeError: 'TextAnnotation' object has no attribute 'get_relations'
for Coref i am not able to find which function to call
Are you using local pipeline or remote pipeline? Can put paste here a code snippet you have tried?
i am Using Remote Pipeline from ccg_nlpy import remote_pipeline from ccg_nlpy.core.view import View pipeline = remote_pipeline.RemotePipeline() doc = pipeline.doc("Rick is Married to Priya")
print(doc.view.get_relations)
In order to use the remote server, you have the server running somewhere. Have you done that? https://github.com/CogComp/cogcomp-nlpy#remote-pipeline
To verify this, do any other annotations work for you? (say doc.get_lemma
)
Ya i Have A Server Running I Just Need Help That i cannot call the Relation,Coref(Stanford) Annotator in this but i am able to i to use the get_lemma get_ner_conll etc
Solved
I am Unable to Use Some of Annotators Like Relations And Coref(Stanford) as these are avaliable in the the package of cogcomp-nlp and also present in the demo version
Can Anyone Please Help