spacy Questions
8
Solved
5
Solved
I have downloaded en_core_web_lg model and trying to find similarity between two sentences:
nlp = spacy.load('en_core_web_lg')
search_doc = nlp("This was very strange argument between american an...
3
Anyone might know what this error is about and what to do about it?
Spacy works in python command line interface though.
I have tried to google various parts of the error, but found nothing specifi...
5
Solved
How to do preprocessing steps like Stopword removal , punctuation removal , stemming and lemmatization in spaCy using python.
I have text data in csv file like paragraphs and sentences. I want to ...
7
Solved
I have a large list of sentences (~7 millions), and I want to extract the nouns from them.
I used joblib library to parallelize the extracting process, like in the following:
import spacy
from tq...
Langue asked 4/7, 2019 at 8:48
2
Solved
I am working on two NLP projects in Python, and both have a similar task to extract numerical values and comparison operators from sentences, like the following:
"... greater than $10 ... ",
"... ...
1
Solved
I have been trying to understand how to systematically make Spacy run as fast as possible for a long time and I would like this post to become a wiki-style public post if possible.
Here is what I c...
Tanta asked 24/10, 2022 at 13:23
1
Solved
SpaCy doesn't support the Arabic language, but Can I use SpaCy with the pretrained Arabert model?
Is it possible to modify this code so it can accept bert-large-arabertv02 instead of en_core_web_lg...
Unlive asked 13/10, 2022 at 22:0
6
Solved
The official documentation of token.tag_ in spaCy is as follows:
A fine-grained, more detailed tag that represents the word-class and some basic morphological information for the token. These ta...
Eatage asked 3/6, 2016 at 9:46
6
is there a way in the NER model in spaCy to extract the metrics (precision, recall, f1 score) per entity type?
Something that will look like this:
precision recall f1-score support
B-LOC 0.810...
Pollen asked 17/10, 2018 at 13:26
3
Solved
I am getting the following error while training spacy NER model with my custom training data.
ValueError: [E024] Could not find an optimal move to supervise the parser. Usually, this means the Gol...
Delbert asked 18/6, 2019 at 6:21
2
Solved
I want to combine spaCy's NER engine with a separate NER engine (a BoW model). I'm currently comparing outputs from the two engines, trying to figure out what the optimal combination of the two wou...
Crave asked 25/10, 2017 at 14:2
2
Solved
I am trying to add custom NER labels using spacy 3. I found tutorials for older versions and made adjustments for spacy 3. Here is the whole code I am using:
import random
import spacy
from spacy.t...
Reddy asked 22/2, 2021 at 7:3
2
I am trying to deploy an app in heroku, and it completes successfully, but when I click to view the app it shows this error in a red box!
OSError: [E050] Can't find model 'en_core_web_trf'. It doe...
Eruptive asked 18/5, 2021 at 4:22
9
Solved
I have been trying to find how to get the dependency tree with spaCy but I can't find anything on how to get the tree, only on how to navigate the tree.
4
Is stopwords removal ,Stemming and Lemmatization necessary for text classification while using Spacy,Bert or other advanced NLP models for getting the vector embedding of the text ?
text="The ...
Bilbao asked 28/8, 2020 at 12:10
4
since i'm very new to spacy & python,here i'm trying to create a user defined label to recognize phrase matching, while parsing i'm unable to assign hash value to the 'label', encountring "Erro...
Lycaon asked 3/7, 2018 at 10:47
2
Solved
I have few elements which I got after performing operation in spacy having type
Input -
li = ['India', 'Australia', 'Brazil']
for i in li:
print(type(i))
Output:
<class 'spacy.tokens.token.To...
Ambulance asked 2/11, 2018 at 12:30
2
I'm running OS X El Capitan on Python 3.5.2 via Anaconda and have spaCy 0.101.0.
I'm trying to install the spaCy English language model using python -m spacy.en.download. However when I do that, I...
14
Solved
I'm working on a codebase that uses Spacy. I installed spacy using:
sudo pip3 install spacy
and then
sudo python3 -m spacy download en
At the end of this last command, I got a message:
Lin...
1
I am trying to run the nlp() pipeline on a series of transcripts amounting to 20,211,676 characters. I am running on a machine with 8gb RAM. I'm very new at both Python and spaCy, but the corpus co...
Decorative asked 20/9, 2018 at 16:54
4
Solved
I have tried to remove words from a document that are considered to be named entities by spacy, so basically removing "Sweden" and "Nokia" from the string example. I could not find a way to work ar...
1
I am building a Python package using pyproject and poetry. My pyproject.toml looks like this:
[tool.poetry]
authors = ["test"]
description = ""
name = "test"
version =...
Dyke asked 28/4, 2022 at 2:6
3
I have a text file which contains lines as shown below:
Electronically signed : Wes Scott, M.D.; Jun 26 2010 11:10AM CST
The patient was referred by Dr. Jacob Austin.
Electronically signed by Ro...
Ununa asked 24/7, 2018 at 4:46
5
InvalidArchiveError('Error with archive C:\Users\Sahaja Reddy\Anaconda3\pkgs\openssl-1.1.1g-he774522_0.conda. You probably need to delete and re-download or re-create this file. Message from libarc...
© 2022 - 2024 — McMap. All rights reserved.