* Fix NAMES list in spacy/parts_of_speech.pyx

This commit is contained in:
Matthew Honnibal 2015-10-13 14:18:45 +11:00
parent c1fdc487bc
commit 358c82595c

View File

@ -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()}