Comments (2)
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.
Solved by following instructions here: https://stackoverflow.com/questions/41348621/ssl-error-downloading-nltk-data
from self-attentive-parser.
Related Issues (20)
- How are F1 scores calculated? HOT 1
- what version of protobuf is suitable for this tool? HOT 1
- import benepar fails with torch error
- Error loading German model HOT 4
- Need help understanding the labels of the parser model
- Error reading EVALB results.
- Spacy and Berkeley parser Multi-processing HOT 3
- How to train a benepar on Ontonotes 5.0 (CONLL 2012) dataset?
- Different in parse results compared to the demo page HOT 3
- benepar_en2
- Parse quality on long sentences
- ```._.labels``` doesn't work for spans with length of one HOT 4
- Serializing the output
- Sentences with ; not split into different clauses
- Mark as unmaintained? HOT 2
- training data for benepar_zh2
- Parse pretokenized sentences?
- Cannot generate WSJ data HOT 1
- How to solve the unresognized model identifier
- The name of the benepar models (at least for french) are not updated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from self-attentive-parser.