Closed AlienKevin closed 4 months ago
@AlienKevin Thank you for catching the typo and creating this issue! I've just fixed it at the upstream main
branch, so for now you can get the fixed pycantonese package by installing it from the github source:
pip install git+https://github.com/jacksonllee/pycantonese.git
The
_MAP
for thepos_tagging.hkcancor_to_ud
function has a typo that incorrectly outputs theV
as a UD tag whenVERB
is intended. This breaks downstream tasks that rely on pycantonese to convert hkcancor labels into UD.