- Python 3.9+
pip install cjkfuzz
pip install git+https://github.com/eddielin0926/cjkfuzz.git
>>> from cjkfuzz import fuzz
>>> fuzz.ratio("你好", "妳好")
1.0
>>> from cjkfuzz import process
>>> process.extract("你好", ["妳好", "你好嗎?"])
[(1.0, '妳好')]
This project is licensed under the terms of the MIT License