Mercurial > hg > mpdl-group
view software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/lt/analyzer/lang/MpdlAnalyzerDE.java @ 25:e9fe3186670c default tip
letzter Stand eingecheckt
author | Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 21 May 2013 10:19:32 +0200 |
parents | 408254cf2f1d |
children |
line wrap: on
line source
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 MpdlAnalyzerDE extends MpdlMorphAnalyzer { private static String LANGUAGE = "de"; public MpdlAnalyzerDE() { super(); setLanguage(LANGUAGE); } /** * Builds an analyzer with the given stop words. */ public MpdlAnalyzerDE(String[] stopwords) { super(stopwords); setLanguage(LANGUAGE); } /** * Builds an analyzer with the given stop words. */ public MpdlAnalyzerDE(Hashtable stopwords) { super(stopwords); setLanguage(LANGUAGE); } /** * Builds an analyzer with the given stop words. */ public MpdlAnalyzerDE(File stopwords) throws IOException { super(stopwords); setLanguage(LANGUAGE); } }