explosion / explosion/spaCy

Broken import for Icelandic language data

Open
#8,214 4 comments 1 reaction 0 assignees View on GitHub
🔜 v4.0 bug lang / is
Dominant language
Python
Stars
33.9k
Forks
4.7k
Avg merge
3m
Merged PRs (30d)
1

Description

## How to reproduce the behaviour

It looks like importing language data for Icelandic is broken.
E.g. to get stop words:

```python
# This works
import spacy.lang.en.stop_words
spacy.lang.en.stop_words.STOP_WORDS

# Syntax error in import statement
import spacy.lang.is.stop_words
spacy.lang.is.stop_words.STOP_WORDS
```
Error:
```python
>>> import spacy.lang.is.stop_words
File "", line 1
import spacy.lang.is.stop_words
^
SyntaxError: invalid syntax

```
I have yet to test this on Spacy v3.0.

## Your Environment

* **spaCy version:** 2.3.5
* **Platform:** Linux-5.8.0-53-generic-x86_64-with-glibc2.29
* **Python version:** 3.8.5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.