spaCy icon indicating copy to clipboard operation
spaCy copied to clipboard

💫 Industrial-strength Natural Language Processing (NLP) in Python

Results 321 spaCy issues
Sort by recently updated
recently updated
newest added

## Description With IPython 9.0.1, they [removed the `IPython.core.display` shim](https://github.com/ipython/ipython/commit/8a0533f31abcc4cb4341858bdeee86e2061c4fd9) that `displacy.render()` relied on. This was apparently deprecated in [IPython 8.0.0](https://github.com/ipython/ipython/commit/43a01a21101ea65dbd52cf760c1e4f149bfab588). This fixes it by trying the newer import path...

## How to reproduce the behaviour --------------------------------------------------------------------------- ``` ImportError Traceback (most recent call last) Cell In[44], line 2 1 from spacy import displacy ----> 2 displacy.render(sentence1, style="dep") File c:\Users\kundeng\scoop\persist\mambaforge\envs\spacy\Lib\site-packages\spacy\displacy\__init__.py:69, in...

I've been training tagger and parser on heavily augmented data and was surprised by poor performance (comparing to what I calculated manually on the test dataset). I narrowed it down...

Please consider replace ```from IPython.core.display import HTML, display``` by ```from IPython.display import HTML, display```.

### Infixes Update Not Applying Properly to Tokenizer #### **Description** I tried updating the **infix patterns** in **spaCy**, but the changes are not applying correctly to the tokenizer. Specifically, I'm...

I have a config.cfg file very simple [nlp] lang = "el" pipeline = ["transformer", "ner"] components = ["transformer", "ner"] [components] [components.transformer] factory = "transformer" model = "amichailidis/greek_legal_bert_v2-finetuned-ner" [components.ner] factory =...

## How to reproduce the behaviour Create a test.py as follow to use picamera2 : ``` from picamera2 import Picamera2, Preview import time picam2 = Picamera2() picam2.start_preview(Preview.QTGL) camera_config = picam2.create_preview_configuration()...

## Description There's no `mock` import in Python 3.13 so need to update to `unittest` ### Types of change Update `mock` import to `unittest.mock` ## Checklist - [x] I confirm...

Hi, I noticed that the coarse-grained POS tags for numbers in the large Romanian model (`ro_core_news_lg`) is empty rather than `X`. Is this the expected behavior? ## How to reproduce...

## Description This PR adds the ability to pass scores along with entities to displacy with the manual mode. If no score is passed there is no change. It uses...