pke icon indicating copy to clipboard operation
pke copied to clipboard

Langcode "ge" does not work with spacy

Open cbartz opened this issue 2 years ago • 2 comments

German langcode ge https://github.com/boudinfl/pke/blob/master/pke/lang.py#L22 is not recognized by spacy, which leads to a missing stopwords assignment in https://github.com/boudinfl/pke/blob/master/pke/lang.py#L34-L40 .

Observed with pke 2.0.0 and spacy 3.3.1.

cbartz avatar Jul 11 '22 11:07 cbartz

isn't that supposed to be de?

shyambhu-mukherjee avatar Aug 10 '22 08:08 shyambhu-mukherjee

Yes.

cbartz avatar Aug 10 '22 09:08 cbartz