-
-
Notifications
You must be signed in to change notification settings - Fork 50
AttributeError: 'sudachipy.latticenode.LatticeNode' object has no attribute 'begin' #133
Comments
I had similar cases while investigating #128. Sorry, no, there were no test cases for this method. I think the error is because, with Cythonization, you don't have direct access to attributes, i.e., it should be There may be more such cases, which the current test cases didn't catch. |
|
I have fixed the case, and added a test for this method in #134. I am now looking at other parts of code that the Cythonization may affect (i.e., related to Lattice and LatticeNode) which we missed due to lack of test. |
Memo about splitting in A or B mode; When using However, there are separate methods And there were no test cases for the latter, therefore this issue was not discovered until now. |
Sorry I missed this issue too... I thought I check the Cythonized attributes during development but obviously I missed some. I'll take a look and see what else I missed. |
* Fix latttice node related access due to Cythonization #133 * Add a case for morpheme split
I have released yet another version v0.4.9 to fix this issue. |
This error might be related to the cythonization. @polm @sorami
Do you have the test cases for this API?
The text was updated successfully, but these errors were encountered: