Fix global population of parts_of_speech enum

This commit is contained in:
Matthew Honnibal 2025-05-19 17:22:59 +02:00
parent 906bf04239
commit ceda7b0732

View File

@ -25,3 +25,9 @@ IDS = {
NAMES = {value: key for key, value in IDS.items()} NAMES = {value: key for key, value in IDS.items()}
# As of Cython 3.1, the global Python namespace no longer has the enum
# contents by default.
globals().update(IDS)