Hi,
I use cjklib quite frequently and it's a very useful tool for me.
I used until now CEDICT and didn't get any problem but recently I made some tests with CFDICT and observed a problem:
the word 哪儿 gives the following error here below (I tested with a few words and it worked, this is the first one with that problem):
File "C:\Python27\lib\site-packages\cjklib-0.3.2-py2.7.egg\cjklib\dictionary\format.py", line 151, in format
for idx, entity in enumerate(reading.split(' ')):
AttributeError: 'NoneType' object has no attribute 'split'
.
Here is the code to reproduce it:
from cjklib.dictionary import *
d = CFDICT()
result = d.getFor(u'哪儿')
Any idea of the cause and do you have any temporary workaround ?
Thank you,
Xavier