spacy Questions

1

Hi I am trying to deploy flask application to heroku and I am getting error saying slug size is too large . catalogue==1.0.0 certifi==2019.11.28 chardet==3.0.4 Click==7.0 cymem==2.0.3 Flask==1.1.1...
Robinette asked 11/2, 2020 at 9:19

7

Solved

I am trying to use this pytextrank library of python- https://github.com/DerwenAI/pytextrank/blob/master/example.ipynb but i am unable to resolve this error , earlier i was getting an error that i...
Alsatia asked 23/9, 2019 at 6:51

5

Solved

I have been trying to use the library neuralcoref: State-of-the-art coreference resolution based on neural nets and spaCy. I am using Ubuntu 16.04, Python 3.7.3 in conda 1.9.7 and Spacy 2.2.4. My c...
Lauree asked 7/7, 2020 at 18:5

5

I am getting an error when trying to use spacy matcher: ~\Anaconda3\lib\site-packages\spacy\matcher\matcher.pyx in spacy.matcher.matcher.Matcher.add() TypeError: add() takes exactly 2 positional ar...
Gwennie asked 11/2, 2021 at 22:53

2

Solved

I know this question has been asked a couple of times but no matter how many solutions I've tried to run I still get the same error. This is the error I get: ---------------------------------------...
Volnay asked 25/2, 2021 at 11:19

9

Solved

I tried running my first Chatterbot program (its from the PyPi page of Chatterbot), and when I run it, I get an error. The error is related to Spacy, but I am unable to find a solution. Here is the...
Chickadee asked 7/2, 2021 at 11:41

9

spaCy tags up each of the Tokens in a Document with a part of speech (in two different formats, one stored in the pos and pos_ properties of the Token and the other stored in the tag and tag_ prope...
Pectinate asked 27/10, 2016 at 15:14

1

Solved

I am writing a Python Jupyter notebook that does some NLP processing on Italian texts. I have installed spaCy 3.5.3 via Poetry and then attempt to run the following code: import spacy load_model = ...
Luger asked 23/5, 2023 at 11:29

3

I am new to python and I don't have much experience in constructing a good working directory. But in my past experience working with installed packages through pip, I don't have any issues. I am tr...
Tuberose asked 10/7, 2021 at 14:42

2

Solved

I need to extract item combination from 2 lists by means of python Spacy Matcher. The problem is following: Let us have 2 lists: colors=['red','bright red','black','brown','dark brown'] animals=['f...
Viscose asked 7/8, 2020 at 12:37

4

I am trying to deploy my Django and spaCy project to Heroku. But I am getting an error: No matching distribution found for en-core-web-sm (It is an ML model downloadable via pip). How can I solve t...
Thorman asked 7/5, 2019 at 18:40

2

Solved

I'm struggling to set type hints for anything involving spaCy types. Trying to use the return types like "Language" and "Token" from the documentation of spaCy but they don't se...
Cropland asked 20/1, 2021 at 23:54

2

spaCy splits a sentence incorrectly when there are dots for abbreviations. import spacy tool = spacy.load('en') x = tool('It starts at 9:00 a.m. Eastern Standard Time.') list(x.sents) produces t...
Aconcagua asked 29/12, 2018 at 9:30

2

Solved

I am trying to use the English model of spaCy in jyputer notebook (python 3) which runs on a google cloud instance. I have installed spaCy, but my problem is that I cannot install/import its Englis...
Toname asked 26/6, 2019 at 20:29

1

Solved

I work with Spacy in several languages and I have different language models installed in computer A or computer B. Often times I would like just to list all the languages models installed in a part...
Brita asked 24/9, 2020 at 13:23

3

Solved

1 - THE PROBLEM I'm using "spacy" on python for text documents lemmatization. There are 500,000 documents having size up to 20 Mb of clean text. The problem is the following: spacy memory consumi...
Squishy asked 25/4, 2019 at 2:45

2

Solved

I have a list of words, noun-verb phrases and I want to: Search dependency patterns, words, in a corpus of text identify the paragraph that matches appears in extract the paragraph highlight the m...
Radiculitis asked 12/8, 2021 at 23:18

3

Solved

I'd like to recognize a newline in text as the end of a sentence. I've tried inputting it into the nlp object like this: text = 'Guest Blogging\nGuest Blogging allows the user to collect backlinks'...
Cesarcesare asked 12/4, 2022 at 18:15

2

Solved

I'm trying to retrieve the probability of my spaCy model in assigning the right label to an entity. I have spaCy version 3.0.5. threshold = 0.5 for i in testing_raw: doc = nlp_updated(i) beams ...
Meacham asked 6/5, 2021 at 15:28

5

Solved

I am trying to evaluate a trained NER Model created using spacy lib. Normally for these kind of problems you can use f1 score (a ratio between precision and recall). I could not find in the docume...
Claptrap asked 29/6, 2017 at 14:27

8

Solved

What is the best way to add/remove stop words with spacy? I am using token.is_stop function and would like to make some custom changes to the set. I was looking at the documentation but could not f...
Fairchild asked 15/12, 2016 at 18:11

6

Solved

How can I break a document (e.g., paragraph, book, etc) into sentences. For example, "The dog ran. The cat jumped" into ["The dog ran", "The cat jumped"] with spacy?
Kileykilgore asked 19/9, 2017 at 1:14

6

I am new to spacy and I want to use its lemmatizer function, but I don't know how to use it, like I into strings of word, which will return the string with the basic form the words. Examples: 'w...
Neisa asked 4/8, 2016 at 9:4

5

I am working on NLP project so I am using spacy, the problem is when I import nlp=spacy.load('fr_core_news_md'), it doesn't work for me and I get this error: OSError: [E050] Can't find model 'fr_c...
Bravin asked 25/3, 2019 at 13:31

3

Solved

I am trying to run nlp = en_core_web_sm.load(). But getting below error continuously OSError: [E053] Could not read config file from C:\Users\xxxxx\Anaconda3\lib\site-packages\en_core_web_sm\en_cor...
Prau asked 5/6, 2022 at 13:23

© 2022 - 2024 — McMap. All rights reserved.