Chen Chongchen
Chen Chongchen
how was 'enwiki_core' built? maybe it's built by old version cyac.
there is a bug, in from_buff of old version cyac.
sorry, I have forget the code. it appears only in case insensitive mode. flashtext lowers the string, and make the assumption that the length of original string is equal to...
If anyone is stuck in this problem. Maybe you can try another library. https://github.com/nppoly/cyac. this library is writen by cython, performance is better, and can save & load data, supports...
I tried old version. it works
wait a minute, I add more testcases. It seems my patch is not correct now. I will spend more time to solve it.
@janhoy OK. I know where's my mistake now. I will submmit new patch today.
@janhoy I have submitted the code, and passed all testcases. A small difference compared to original implementation is that I will capture all tokens(original implementation won't capture token if the...
I have changed the code, and enabled the capture num test. now the capture behavior is same as the original implementation. actually no performance impact.