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
it seems that it's cython's bug. AC has not implemented iter method.
In my python environment, your code complains:
lib/cyac/ac.pyx in cyac.ac.AC.__getitem__()
lib/cyac/trie.pyx in cyac.trie.Trie.__getitem__()
AttributeError: 'NoneType' object has no attribute 'decode'
Issue
When iterating over an AC trie, a segmentation fault occurs. For example:
Output:
However,
AC.items()
is works as expected.Environment
The text was updated successfully, but these errors were encountered: