Skip to content

Commit

Permalink
Doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Oct 13, 2023
1 parent 6eaf1a9 commit dbb41cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edu/stanford/nlp/ling/IndexedWord.java
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ public boolean isCopy(IndexedWord otherWord) {
}

/**
* This .equals is dependent only on docID, sentenceIndex, and index.
* This .equals is dependent only on docID, sentenceIndex, emptyIndex, and index.
* It doesn't consider the actual word value, but assumes that it is
* validly represented by token position.
* All IndexedWords that lack these fields will be regarded as equal.
Expand Down Expand Up @@ -463,7 +463,7 @@ public boolean equals(Object o) {

private int cachedHashCode; // = 0;
/**
* This hashCode uses only the docID, sentenceIndex, and index.
* This hashCode uses only the docID, sentenceIndex, emptyIndex, and index.
* See compareTo for more info.
*/
@Override
Expand Down

0 comments on commit dbb41cd

Please sign in to comment.