fixing bug with russian morphology

git-svn-id: https://russianmorphology.googlecode.com/svn/trunk@65 d817d54c-26ab-11de-abc9-2f7d1455ff7a
This commit is contained in:
alexander.a.kuznetsov
2009-10-19 16:54:10 +00:00
parent 9ee47e2f99
commit bd056ae6f5
5 changed files with 10 additions and 4 deletions

View File

@ -31,6 +31,10 @@ import java.io.Reader;
public class MorphlogyAnalayzer extends Analyzer {
private LuceneMorphology luceneMorph;
public MorphlogyAnalayzer(LuceneMorphology luceneMorph) {
this.luceneMorph = luceneMorph;
}
public MorphlogyAnalayzer(String pathToMorph, LetterDecoderEncoder letterDecoderEncoder) throws IOException {
luceneMorph = new LuceneMorphology(pathToMorph, letterDecoderEncoder);
}