Spacy Basic Usage Error
See original GitHub issueUsing Spacy v1.1.2 the following code errors out
import spacy
en_nlp = spacy.load('en', parser=True)
en_doc = en_nlp(u'Hello, world. Here are two sentences.')
with an error
File "/usr/local/lib/python2.7/site-packages/spacy/language.py", line 313, in __call__
proc(doc)
TypeError: 'bool' object is not callable
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
spaCy 101: Everything you need to know
spaCy is designed specifically for production use and helps you build applications that process and “understand” large volumes of text. It can be...
Read more >How to resolve issues encountered when using spacy?
I have a training data (json) based from emails and extracted using tecoholic's ner-annotator. When trying to use the below for spacy and...
Read more >Introducing spaCy v2.2
Version 2.2 of the spaCy Natural Language Processing library is leaner, cleaner and even more ... Here's a basic usage example: import spacy...
Read more >Error when using data-to-spacy - done
However when I want to export the data with data-to-spacy I run into trouble. I'm providing a base-model, so that it'll use the...
Read more >7. How to Train spaCy NER Model
In order to take advantage of the spaCy training process, the user need only understand a few basic concepts, such as how the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
spacy definitely needs better documentation for initiating the English class, looking at the source code (
Language.__init__
) theoverrides
kwargs implementation doesn’t help at all. It is not clear if default values are flags or objects of certain type. The big problem with SpaCy’s API is that it is hiding everything from the end-user (aka you just load this object, it does everything for you!) An expert NLP user would definitely wanna see easy interface to disable/enable taggers, parsers, vectors, entity etc… There is no example in the documentation about initiating the English class, exceptEnglish()
examples. This also makes it nearly impossible to inherit from theEnglish
class.This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.