Skip to content

Can't find model 'en'. #1

Description

@vickyandpiggy

Hi, thanks for uploading the code with such detailed tutorial. I've followed all the instructions but get the following error while running ''sh scripts/emnlp2018/end_to_end_emnlp2018_corpora_preprocessing.sh wikiqa wikiqa''.

Traceback (most recent call last): File "scripts/emnlp2018/preprocessing.py", line 103, in <module> configurations = annotate_dataset(dataset) File "scripts/emnlp2018/preprocessing.py", line 81, in annotate_dataset linguistic_annotations(dataset[mode], colname, configurations) File "/data/huangweiyi/qaModel/code/RelTextRank/scripts/emnlp2018/linguistic_annotation_utils.py", line 111, in linguistic_annotations nlp = spacy.load('en', disable=['parser', 'textcat']) File "/home/newname/anaconda3/envs/hweiyi/lib/python2.7/site-packages/spacy/__init__.py", line 27, in load return util.load_model(name, **overrides) File "/home/newname/anaconda3/envs/hweiyi/lib/python2.7/site-packages/spacy/util.py", line 136, in load_model raise IOError(Errors.E050.format(name=name)) IOError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

What is model 'en' and where can I get it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions