underthesea
underthesea copied to clipboard
issues import text_normalize
ImportError Traceback (most recent call last)
ImportError: cannot import name 'text_normalize' from 'underthesea' (/usr/local/lib/python3.7/dist-packages/underthesea/init.py)
NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the "Open Examples" button below.
Duplicate #557
@FamCao text_normalize is ready in version 1.3.5
Please check it out
pip install underthesea
Use text_normalize module
>>> from underthesea import text_normalize
>>> text_normalize('Ðảm baỏ chất lựơng phòng thí nghịêm hoá học')
'Đảm bảo chất lượng phòng thí nghiệm hóa học'