-
Notifications
You must be signed in to change notification settings - Fork 17
[LBJava-Examples] Issue in Entity Relation example datastructures #105
Copy link
Copy link
Open
Description
In the Entity Relation example datastructures, calling .hashcode on any of the items causes an StackOverflow due to unbounded recursion.
- ConllRawSentence - Calls
.hashcodeon tokens and relations in the sentence. - ConllRawToken - Calls
.hashcodeon the sentence object. - ConllRelation - Calls
.hashcodeon its two entity tokens and sentence object.
This leads to unbounded recursion. Thus, cannot add these instances in a HashSet or HashMap (as keys).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels