mirror of https://github.com/apache/lucene.git
bring the analyzers codebase into the build
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150909 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
af0c0932b3
commit
46ecc70934
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<project name="analyzers" default="default">
|
||||
|
||||
<description>
|
||||
Additional Analyzers
|
||||
</description>
|
||||
|
||||
<import file="../common.xml"/>
|
||||
</project>
|
|
@ -29,8 +29,8 @@ public final class BrazilianStemFilter extends TokenFilter {
|
|||
private Hashtable exclusions = null;
|
||||
|
||||
public BrazilianStemFilter( TokenStream in ) {
|
||||
super(in);
|
||||
stemmer = new BrazilianStemmer();
|
||||
input = in;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -37,7 +37,7 @@ public final class ChineseFilter extends TokenFilter {
|
|||
private Hashtable stopTable;
|
||||
|
||||
public ChineseFilter(TokenStream in) {
|
||||
input = in;
|
||||
super(in);
|
||||
|
||||
stopTable = new Hashtable(STOP_WORDS.length);
|
||||
for (int i = 0; i < STOP_WORDS.length; i++)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Someone please add some tests here!
|
Loading…
Reference in New Issue