spacy Questions

4

Solved

As the self guide says, I've installed it with (conda environment) conda install -c conda-forge spacy python -m spacy download en_core_web_trf I have spacy-transformers already installed. But when...
Undry asked 1/10, 2021 at 13:32

3

In Spacy 2.x, I use the matcher to find specific tokens in my text corpus. Each rule has an ID ('class-1_0' for example). During parse, I use the callback on_match to handle each match. Is there a ...
Davies asked 26/11, 2017 at 7:21

5

Solved

I want to call my Python module from the Matlab. I received the error: Error using numpy_ops>init thinc.backends.numpy_ops Python Error: ValueError: numpy.dtype size changed, may indicate bina...
Dacy asked 17/6 at 18:52

1

I want to install Spacy in the virtual environment. I created the virtual environment with python 3.9. Activated the environment. As per theSpacy tutorial when I tried to install Spacy in the...
Ensor asked 18/6 at 18:32

4

I am using SpaCy and SpaCy Stanza in Jupyter notebook with python 3, and I get the following error OSError: /opt/conda/lib/python3.7/site-packages/torch/lib/../../nvidia/cublas/lib/libcublas.so.11:...
Directional asked 2/11, 2022 at 18:57

8

I already have spaCy downloaded, but everytime I try the nlp = spacy.load("en_core_web_lg"), command, I get this error: OSError: [E050] Can't find model 'en_core_web_lg'. It doesn't seem to be a ...
Elfreda asked 6/6, 2019 at 3:2

3

Solved

I am using Spacy NER model to extract from a text, some named entities relevant to my problem, such us DATE, TIME, GPE among others. For example, I need to recognize the Time Zone in the following ...
Then asked 24/1, 2022 at 15:2

9

I was trying to install python -m spacy download en_vectors_web_lg But it was throwing error: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device May I ...
Overseas asked 11/3, 2019 at 13:41

5

Solved

I am new to Spacy and I would like to extract "all" the noun phrases from a sentence. I'm wondering how I can do it. I have the following code: import spacy nlp = spacy.load("en") file = open("E...
Ivy asked 22/2, 2018 at 10:41

3

Solved

I know in the past you could get the list of labels for an EntityRecognizer as follows: nlp.entity.cfg[u'actions'] (From https://github.com/explosion/spaCy/issues/441) But, it seems this had be...
Bestiary asked 19/11, 2018 at 22:32

3

I used this official example code to train a NER model from scratch using my own training samples. When I predict using this model on new text, I want to get the probability of prediction of each...
Olivenite asked 23/1, 2020 at 11:40

3

Solved

I want to download spacy, but the version of typing-extensions is lowered in the terminal: ERROR: pydantic 2.3.0 has requirement typing-extensions>=4.6.1, but you'll have typing-extensions 4.4.0...
Gullible asked 10/9, 2023 at 2:58

1

I want to export displacy graphics as an image file. I run the following code block in Jupyter Notebook and generate an svg file name sample.svg. The code block is import spacy from spacy import di...
Murphree asked 13/3 at 1:51

4

I have tried different approaches to sentence similarity, namely: spaCy models: en_core_web_md and en_core_web_lg. Transformers: using the packages sentence-similarity and sentence-transformers, ...
Pericarditis asked 29/9, 2021 at 10:3

4

Solved

Hi Guys, I am trying to install spacy model == 2.3.5 but I am getting this error, please help me!
Farseeing asked 17/3, 2022 at 12:29

7

I have downloaded spacy in Anaconda prompt by using conda install -c conda-forge spacy. But when I tried to download en_core_we_sm using python -m spacy download en_core_web_sm I getting SSL: CERTI...
Ruffi asked 18/4, 2019 at 9:12

4

I have a simple command: python -m spacy download en_core_web And I cannot for the life of me figure out where it downloads. I search for "en_core_web" but can find absolutely nothing, anywhere....
Galileo asked 30/10, 2019 at 0:11

7

Solved

I am trying to load a NLP model 'en' from SpaCy in my PyCharm and I am using Python 2.7 . My code to load the 'en' model is nlp = spacy.load('en', disable=['parser', 'ner']) However, I received th...
Dittmer asked 6/10, 2018 at 9:30

4

Solved

I am exploring using NLP for some machine learning projects. I normally code all of my projects using python through Anaconda using either Jupyter notebooks or PyCharm as my IDE. I would like to ...
Fetor asked 7/9, 2019 at 20:41

4

Solved

In my project I have spaCy as a dependency in my setup.py, but I want to add also a default model. My attempt so far has been: install_requires=['spacy', 'en_core_web_sm'], dependency_links=['htt...
Heaver asked 19/11, 2018 at 22:9

17

Solved

I´m new to python and I ran into a problem I can´t solve. I would like to install and use the package spacy in python. Therefore I opened cmd and ran pip install spacy While installing the depen...
Mining asked 23/5, 2018 at 8:17

34

Solved

what is difference between spacy.load('en_core_web_sm') and spacy.load('en')? This link explains different model sizes. But i am still not clear how spacy.load('en_core_web_sm') and spacy.load('en'...
Soma asked 23/1, 2019 at 19:24

1

Solved

I am trying to use the Spacy library again for my NPL task. somedays back it was working totally fine with spacy.load("en_core_web_sm"). I thought of using medium instead of small, but no...
Compunction asked 4/9, 2023 at 12:54

4

Solved

i am trying to train my data with spacy v3.0 and appareantly the nlp.update do not accept any tuples. Here is the piece of code: import spacy import random import json nlp = spacy.blank("en&qu...
Jacksnipe asked 17/3, 2021 at 14:36

1

I am doing some performance tests with spacy version 3 for right sizing my instances in production. I am observing the following Observation: Model name Time without NER Time with NER Comments ...
Isom asked 22/2, 2021 at 19:39

© 2022 - 2024 — McMap. All rights reserved.