Closed lesshaste closed 3 years ago
In version 1.4.2 it seems iter_long is not there despite being in the documentation.
source_text = 'abc' A = ahocorasick.Automaton() for k in ['b', 'c', 'abd']: A.add_word(k, k) A.make_automaton() list(A.iter_long(source_text))
This gives:
AttributeError: 'ahocorasick.Automaton' object has no attribute 'iter_long'
Turns out the problem must be the version that conda installs on Windows. iter_long is there in 1.4.2 on linux.
In version 1.4.2 it seems iter_long is not there despite being in the documentation.
This gives:
AttributeError: 'ahocorasick.Automaton' object has no attribute 'iter_long'