mirror of https://github.com/explosion/spaCy.git
* Fix NAMES list in spacy/parts_of_speech.pyx
This commit is contained in:
parent
c1fdc487bc
commit
358c82595c
|
@ -25,4 +25,4 @@ IDS = {
|
|||
}
|
||||
|
||||
|
||||
NAMES = [key for key, value in sorted(IDS.items(), key=lambda item: item[1])]
|
||||
NAMES = {value: key for key, value in IDS.items()}
|
||||
|
|
Loading…
Reference in New Issue