Closed rohithkodali closed 4 years ago
@rohithkodali : Ok, I will have a look at it and let you know.
Can confirm the issue. It happens because Dawg.id doesn't get updated as intended.
This issue should be resolved in lexpy version 0.9.6.
Closing this issue
HI,
There is an issue with your Dawg data-structure. The maximum nodeId that it can reach is 2. I tried to print the nodeid and val while inserting and here is the output i got
id and val at current is 1 id and val at current is 2 a id and val at current is 2 n id and val at current is 2 p id and val at current is 2 e id and val at current is 2 p id and val at current is 2 l id and val at current is 2 e id and val at current is 2 b id and val at current is 2 a id and val at current is 2 n id and val at current is 2 a id and val at current is 2 n id and val at current is 2 a id and val at current is 2 t id and val at current is 2 c id and val at current is 2 a id and val at current is 2 n id and val at current is 2 a id and val at current is 2 n id and val at current is 2 a
it is not creating a child id after first child from root