You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My error is: UnicodeDecodeError: 'gbk' codec can't decode byte 0xa3 in position 7832: illegal multibyte sequence.
So I modified panphon's code to force the file to be read using utf-8 encoding:
Open the panphon/featuretable.py file.
Find the _read_bases function, it should be in line 76.
Modify the Open () function and specify the encoding to be utf-8, like
After installing the library with pip and trying to initialize it, I'm getting the following error:
epi = epitran.Epitran("eng-Latn")
It does not matter what language.
Python 3.12.5
epitran 1.25.1
The text was updated successfully, but these errors were encountered: