Questions tagged [spacy]

Industrial strength Natural Language Processing (NLP) with Python and Cython

30 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
49 views

Medical NER for French language

I'm currently exploring the options to extract medical NER specifically for French language. I tried SpaCy's general French NER but it wasn't helpful to the cause (...
3
votes
0answers
46 views

Change the way spacy works - Custom properties for training and prediction

Spacy detects the entities using its predefined algorithm. It parses tokens in text considering position of tokens with respect to tokens surrounding it. It also takes into consideration the POS ...
3
votes
2answers
236 views

Is NLP suitable for my legal contract parsing problem?

My company has a product that involves the extraction of a variety of fields from legal contract PDFs. The current approach is very time consuming and messy, and I am exploring if NLP is a suitable ...
2
votes
1answer
23 views

Heauristics for a NER model prediction

I am trying to build and NER model that can name entities in a "Job description." The entities are: Mandatory skills (Must have skills like java, python, c++ etc.) Nicetohave skills (the ...
2
votes
0answers
24 views

Spacy dependencymatcher pattern not returning matches

I am trying to create, add and get results from a pattern using spacy DependencyMatcher. I created a pattern for the sentence: "From Monday to Friday" The full pattern: ...
2
votes
1answer
91 views

Testing Spacy NER model

I've trained an NER model with the use of Spacy, and I would like to test the accuracy on a test dataset. What would be the best way to perform this?
2
votes
0answers
344 views

improve NER model accuracy with spaCy dependency tree

I have search at lot, was not able to find a solution for my problem... I am training a NER model, that should detect two types of words: Instructions and Conditions. This is not the standard use-case ...
2
votes
1answer
241 views

Character-level embeddings in python

I'm working on an NLP task that requires the use of character level embeddings, and I've been trying to use Spacy. However, it seems that spacy uses word-level embeddings for the word vectors, and I ...
2
votes
1answer
2k views

Can not install spacy package on windows 10 via pip

I have below environment. OS: Windows 10 Python: Python 3.7.4 PIP: pip 19.3.1 I am trying to install spacy in my windows 10 OS. It gives me below error. ...
1
vote
0answers
14 views

Adding additional classes in stanford NLP NER or Spacy

For stanford NER 3 class model, Location, Person, Organization recognizers are available. Is it possible to add additional classes to this model. For example : Sports as one class to tag sports names. ...
1
vote
1answer
58 views

Phone number tagging with spaCy

I have to do a BIO tagging for a given set of sentences. For example: ...
1
vote
0answers
304 views

Flair Custom NER

I'm working on a problem in the domain of NER. I have a dataset wherein I need to have custom tags for different entities. I don't know how to start or even where to start. I know that there are ...
1
vote
1answer
1k views

Spacy v2.0.1 custom NER: How to improve training of existing model

I implemented custom NER with bellow trained data first time and it gives me good prediction with Name and PrdName. I mentioned code bellow. ...
1
vote
1answer
551 views

Sentiment Analysis of News Headlines

I'm trying to do sentiment analysis of News Headlines about a particular subject mentioned in it. Initially, I used TextBlob library for sentiment analysis to ...
0
votes
0answers
16 views

Open Source Annotation Tools for spaCy's Entity Linker?

According to the Tutorial "Training a custom ENTITY LINKING model with spaCy" (20:33) this is the training data format for spaCy's Entity Linker: ...
0
votes
1answer
34 views

How to identify/recognize that a sentence about talks about future?

Brief Introduction: I have a report/paragraph in which there are sentences with reference to future plans/outlooks/expectations for a particular entity. I want to extract all such sentences for now. ...
0
votes
0answers
8 views

Converting to lowercase while creating dataset for NER using spacy

I am trying to make a custom entity model for an NER application using spacy. In several NLP projects, I have converted all the data to lowercase and applied several ML techniques. For NER also should ...
0
votes
0answers
14 views

Training Spacy for NER recognition using scraped data

I am working on scraped data from different urls but all related to a musical related urls. I am trying to achieve recognition of items from scraped data. One cleaned scraped data and its entities is ...
0
votes
0answers
13 views

Building a tagger model for a specific domain

I am trying to build a tagger model in spaCy v3.1 with .pos_ attributes for a specific domain. The code below manages to compile, however, it is not returning the <...
0
votes
1answer
20 views

Traning New Entities in Spacy NER Model

I want to add new entities to python spacy NER module. I have few doubts regarding this. Is it possible to remove some of the presently existing entities and add new entities to the remaining ones. ...
0
votes
0answers
31 views

spaCy NER models (v2x) - how to deal with inflections?

I am training custom Spacy NER models (v2x). I have come across an interesting problem. There are languages that are morphologically rich. For example, in German: Nominative: der Name, Accusative: den ...
0
votes
0answers
50 views

Cross validation in SpaCy NER

I'm working on a custom NER model that I created with SpaCy, and for training/testing purposes I would like to use cross validation. Does SpaCy have the option to somehow perform this? If not, what ...
0
votes
0answers
271 views

ValueError: GPU is not accessible. Was the library installed correctly?

I installed spacy 3 in a venv and tried to execute: spacy.require_gpu() Then I got this as output: ...
0
votes
0answers
71 views

How can I retrain existing spacy v3 NER model with additional data?

I have trained Spacy v3 model on 1 million rows and want to train for additional 1 million. ...
0
votes
0answers
22 views

Generate UML diagrams after analyzing given text requirement using NLP

I want to generate UML diagrams (use-case,activity,sequence,class) from a given text requirement that look like this. And I want to use python NLP library such as Spacy to identify actors, actions, ...
0
votes
1answer
44 views

How to predict the sentiment of the entities form the tweet?

I have a JSON file (tweets.json) that contains tweets (sentences) along with the name of the author. Objective 1: Get the most frequent entities from the tweets. Objective 2: Find out the sentiment/...
0
votes
0answers
30 views

Extracting "hidden" costs from financial statements using NLP

I'm designing a NLP model to extract various kinds of "hidden" expenses from 10-K and 10-Q financial statements. I've come up with about 7 different expense categories (restructuring costs, ...
0
votes
0answers
232 views

Training custom NER on OCR text with SpaCy won't train

I want to perform information extraction from documents. I wanted to try Spacy's NER method, so I follow following steps : 1)OCR on text document, using Tesseract. As output I have a list of words ...
0
votes
1answer
39 views

making conclusions after sentiment analysis

After performing some sentiment analysis, I have a dataset that looks like this: For different products, using online reviews, I have obtained some values for positive/negative sentiments. However, ...
0
votes
1answer
472 views

SpaCy binary text classification

I have a dataset of two folders. One of them contains the documents(text, pdfs) related to personal information (like name,email,address etc), the other contains non-personal information. I have to ...