v3.2.0
[3.2.0] - 2021-03-20
Note: The underlying CHAT parser, the PyLangAcq package, has been bumped to v0.13.0.
All of the updates of PyLangAcq's CHAT reader apply to this PyCantonese release as well.
The details are in PyLangAcq's changelog for v0.13.0.
The changelog entries below only document updates specific to PyCantonese.
Added
- Defined the
Jyutping
class to better represent parsed Jyutping romanization.
Changed
- Bumped the PyLangAcq dependency to v0.13.0.
- The function
parse_jyutping
now returns a list ofJyutping
objects,
rather than tuples of strings.
Deprecated
-
The following methods in the
CHATReader
class have been deprecated:character_sents
(usecharacters
withby_utterances=True
instead)jyutping_sents
(usejyutping
withby_utterances=True
instead)
-
The following arguments of the
search
method ofCHATReader
have been deprecated:sent_range
(useutterance_range
instead)tagged
(useby_tokens
instead)sents
(useby_utterances
instead)
Fixed
- Fixed the character issues in the built-in HKCanCor data: 𠺢, 𠺝, 𡁜, 𧕴, 𥊙, 𡃓, 𠴕, 𡀔