Releases: CanCLID/ToJyutping
Releases · CanCLID/ToJyutping
2.0.0
What's Changed
- Breaking Change:
g2p
now outputs tones as integers from 1 to 6 (instead of 87 to 92) by default- To retain the old behavior, pass the argument
tone_same_seq=True
- To retain the old behavior, pass the argument
- Accept a triplet as the
offset
argument ofg2p
- Slightly optimize the two
get_*_candidates
methods
Full Changelog: 1.0.0...2.0.0
1.0.0
What's Changed
- Completely rewrite the codebase in an object-oriented manner
- Add
g2p
(grapheme-to-phoneme) conversion function for machine learning purposes - Optimize performance & memory usage (#7)
Full Changelog: 0.3.0...1.0.0
0.3.0
What's Changed
- Use new dictionary to increase accuracy and reduce module size
- Add methods for retrieving all possible pronunciations of a character
- Drop dependency
- Drop Python 3.5, Add 3.11 & 3.12
Full Changelog: 0.2.3...0.3.0
0.2.3
0.2.2
What's Changed
m
andng
alone should be treated as coda by @graphemecluster in #2- Handle Punctuation in
get_*_text
by @graphemecluster in #3
Full Changelog: 0.2.1...0.2.2
0.2.1
- Update dictionary to rime/rime-cantonese@5b6d334
0.2.0
0.1.7
Update to rime/rime-cantonese@76fca36
0.1.6
Update to rime/rime-cantonese@8b65e0f
0.1.5
- Improve performance: Perform Traditional Chinese/Simplified Chinese conversion at build time
- Update dictionary to rime/rime-cantonese@455aa6f