mirror of https://github.com/apache/lucene.git
LUCENE-2899: OpenNLPPOSFilter: fix reset() to fully reset
This commit is contained in:
parent
8275952337
commit
f8fb139656
|
@ -86,6 +86,7 @@ public final class OpenNLPPOSFilter extends TokenFilter {
|
|||
public void reset() throws IOException {
|
||||
super.reset();
|
||||
moreTokensAvailable = true;
|
||||
clear();
|
||||
}
|
||||
|
||||
private void clear() {
|
||||
|
|
Loading…
Reference in New Issue