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:
Erik Hatcher 2004-01-06 01:03:15 +00:00
parent af0c0932b3
commit 46ecc70934
4 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<project name="analyzers" default="default">
<description>
Additional Analyzers
</description>
<import file="../common.xml"/>
</project>

View File

@ -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;
}
/**

View File

@ -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++)

View File

@ -0,0 +1 @@
Someone please add some tests here!