When logging is enabled, I noticed a bug in Lattice.dump, which might be related to the recent cython-related modifications? The error looks like this, calling sudachipy from spacy:
File "/tmp/venv/lib/python3.7/site-packages/spacy/lang/ja/__init__.py", line 116, in get_dtokens
tokens = tokenizer.tokenize(text)
File "sudachipy/tokenizer.pyx", line 149, in sudachipy.tokenizer.Tokenizer.tokenize
File "sudachipy/lattice.pyx", line 134, in sudachipy.lattice.Lattice.dump
AttributeError: 'sudachipy.latticenode.LatticeNode' object has no attribute 'is_defined'
When logging is enabled, I noticed a bug in
Lattice.dump
, which might be related to the recent cython-related modifications? The error looks like this, callingsudachipy
fromspacy
: