Skip to content

Python quit unexpectedly while running scripts #210

Closed
@kameshtj

Description

@kameshtj

First I installed neuralcoref and its dependencies using pip in my global python environment..
When I run the script containing

import spacy
import neuralcoref

nlp = spacy.load('en')
neuralcoref.add_to_pipe(nlp)
doc1 = nlp('My sister has a dog. She loves him.')
print(doc1._.coref_clusters)

doc2 = nlp('Angela lives in Boston. She is quite happy in that city.')
for ent in doc2.ents:
print(ent._.coref_cluster)

It throws error :
Screenshot 2019-10-15 at 5 48 25 PM

Then I tried installing neuralcoref with source, When I run the command

pip install -e .

in cloned neuralcoref path, It throws error like below:
Screenshot 2019-10-15 at 5 43 29 PM

Kindly anyone help me to resolve this issue
Thanks in Advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions