Skip to content

Commit

Permalink
update to stemmer 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
drupchen committed May 5, 2018
1 parent dd59bf9 commit d0e56ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>io.bdrc.lucene</groupId>
<artifactId>stemmer</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/bdrc/lucene/bo/TibWordTokenizer.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import org.apache.lucene.analysis.tokenattributes.OffsetAttribute;
import org.apache.lucene.analysis.util.RollingCharBuffer;

import io.bdrc.lucene.stemmer.Optimizer;
import io.bdrc.lucene.stemmer.Reduce;
import io.bdrc.lucene.stemmer.Row;
import io.bdrc.lucene.stemmer.Trie;

Expand Down Expand Up @@ -113,7 +113,7 @@ private void init(Reader reader) throws FileNotFoundException, IOException {
this.scanner.add(line.substring(0, spaceIndex), line.substring(spaceIndex+1));
}
}
final Optimizer opt = new Optimizer();
final Reduce opt = new Reduce();
this.scanner.reduce(opt);
}
ioBuffer = new RollingCharBuffer();
Expand Down

0 comments on commit d0e56ea

Please sign in to comment.