You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use the jyutping to convert characters to jyutping, but I found some character can be convert:
for example:
txt='昆省急救服务中心嘅医护人员昆省警方。'
the output is:
[('昆', 'gwan1'), ('省', 'saang2'), ('急救', 'gap1gau3'), ('服', 'fuk6'), ('务', None), ('中心', 'zung1sam1'), ('嘅', 'ge3'), ('医', 'ai3'), ('护', None), ('人', 'jan4'), ('员', None), ('昆', 'gwan1'), ('省', 'saang2'), ('警方', 'ging2fong1'), ('。', None)]
you can see that ‘务’,‘护’,‘员’ are None
The text was updated successfully, but these errors were encountered:
Hello! Currently, pycantonese (as of v3.4.0) supports only traditional characters. If your input contains simplified characters, you may consider piping it through a converter (such as OpenCC) before passing it to pycantonese.
jacksonllee
changed the title
some characters not support in jyutping
simplified characters not support in jyutping
Mar 8, 2024
jacksonllee
changed the title
simplified characters not support in jyutping
Simplified Chinese characters not supported
May 23, 2024
I try to use the jyutping to convert characters to jyutping, but I found some character can be convert:
for example:
txt='昆省急救服务中心嘅医护人员昆省警方。'
the output is:
[('昆', 'gwan1'), ('省', 'saang2'), ('急救', 'gap1gau3'), ('服', 'fuk6'), ('务', None), ('中心', 'zung1sam1'), ('嘅', 'ge3'), ('医', 'ai3'), ('护', None), ('人', 'jan4'), ('员', None), ('昆', 'gwan1'), ('省', 'saang2'), ('警方', 'ging2fong1'), ('。', None)]
you can see that ‘务’,‘护’,‘员’ are None
The text was updated successfully, but these errors were encountered: