v1.1.0 Improve package struture and usability
Full Changelog: v1.0...v1.1.0
In the release, the entire package is rewritten in an OOP style which increase the readability and maintainability of the package. We have also patched the README to improve the ease of use of this package. Now you only need to run cantonesedetect --input input.txt
in a terminal to get classification results. If you want to use in your Python codes, you can do as simple as:
from cantonesedetect import CantoneseDetector
detector = CantoneseDetector()
detector.judge('你喺邊度') # cantonese