adding reading morphology fromresource

git-svn-id: https://russianmorphology.googlecode.com/svn/trunk@55 d817d54c-26ab-11de-abc9-2f7d1455ff7a
This commit is contained in:
alexander.a.kuznetsov
2009-10-05 18:22:45 +00:00
parent a6970bda31
commit 80b853c9cd
6 changed files with 102 additions and 107 deletions

View File

@ -32,7 +32,7 @@ public class MorphlogyAnalayzer extends Analyzer {
private LuceneMorph luceneMorph;
public MorphlogyAnalayzer(String pathToMorph, LetterDecoderEncoder letterDecoderEncoder) throws IOException {
luceneMorph = new LuceneMorph("sep.txt", letterDecoderEncoder);
luceneMorph = new LuceneMorph(pathToMorph, letterDecoderEncoder);
}
public MorphlogyAnalayzer(InputStream inputStream, LetterDecoderEncoder letterDecoderEncoder) throws IOException {