Mercurial > hg > mpdl-group
diff software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/lt/analyzer/lang/MpdlAnalyzerEL.java @ 0:408254cf2f1d
Erstellung
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 24 Nov 2010 17:24:23 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/lt/analyzer/lang/MpdlAnalyzerEL.java Wed Nov 24 17:24:23 2010 +0100 @@ -0,0 +1,41 @@ +package de.mpg.mpiwg.berlin.mpdl.lt.analyzer.lang; + +import java.io.File; +import java.io.IOException; +import java.util.Hashtable; + +import de.mpg.mpiwg.berlin.mpdl.lt.analyzer.MpdlMorphAnalyzer; + +public class MpdlAnalyzerEL extends MpdlMorphAnalyzer { + private static String LANGUAGE = "el"; + + public MpdlAnalyzerEL() { + super(); + setLanguage(LANGUAGE); + } + + /** + * Builds an analyzer with the given stop words. + */ + public MpdlAnalyzerEL(String[] stopwords) { + super(stopwords); + setLanguage(LANGUAGE); + } + + /** + * Builds an analyzer with the given stop words. + */ + public MpdlAnalyzerEL(Hashtable stopwords) { + super(stopwords); + setLanguage(LANGUAGE); + } + + /** + * Builds an analyzer with the given stop words. + */ + public MpdlAnalyzerEL(File stopwords) throws IOException { + super(stopwords); + setLanguage(LANGUAGE); + } + +}