mawiesne commented on code in PR #58:
URL: https://github.com/apache/opennlp-sandbox/pull/58#discussion_r1082245585
##########
opennlp-coref/src/main/java/opennlp/tools/coref/resolver/AbstractResolver.java:
##########
@@ -169,7 +170,14 @@ public DiscourseEntity retain(MentionContext mention,
DiscourseModel dm) {
DiscourseEntity cde = dm.getEntity(ei);
MentionContext cec = cde.getLastExtent(); // candidate extent context
if (cec.getId() == mention.getId()) {
- distances.add(ei);
+ // adding counts
+ Integer count = distances.get(ei);
Review Comment:
`e` -> `ei`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]