Code Monkey home page Code Monkey logo

Comments (2)

Lolologist avatar Lolologist commented on June 3, 2024

Note that if I try to just make a parser for benepar_en, I get the following (asking me to try to download benepar_en.gz, which the instructions don't ask for, and neither works.):

parser = benepar.Parser("benepar_en")
Traceback (most recent call last):
File "", line 1, in
File "/Users/daniel/Repos/offsites/venv/lib/python3.6/site-packages/benepar/nltk_plugin.py", line 28, in init
super(Parser, self).init(name, batch_size)
File "/Users/daniel/Repos/offsites/venv/lib/python3.6/site-packages/benepar/base_parser.py", line 158, in init
graph_def = tf.GraphDef.FromString(load_model(name))
File "/Users/daniel/Repos/offsites/venv/lib/python3.6/site-packages/benepar/downloader.py", line 21, in load_model
raise LookupError(arg)
LookupError:


Resource benepar_en.gz not found.
Please use the NLTK Downloader to obtain the resource:

import nltk
benepar.download('benepar_en.gz')

Attempted to load models/benepar_en.gz

Searched in:
- '/Users/daniel/nltk_data'
- '/Users/daniel/Repos/offsites/venv/nltk_data'
- '/Users/daniel/Repos/offsites/venv/share/nltk_data'
- '/Users/daniel/Repos/offsites/venv/lib/nltk_data'
- '/usr/share/nltk_data'
- '/usr/local/share/nltk_data'
- '/usr/lib/nltk_data'
- '/usr/local/lib/nltk_data'
- ''


from self-attentive-parser.

Lolologist avatar Lolologist commented on June 3, 2024

Solved by following instructions here: https://stackoverflow.com/questions/41348621/ssl-error-downloading-nltk-data

from self-attentive-parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.