comparison software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/donatus/analysis/lang/DonatusAnalyzerDE.java @ 0:408254cf2f1d

Erstellung
author Josef Willenborg <jwillenborg@mpiwg-berlin.mpg.de>
date Wed, 24 Nov 2010 17:24:23 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:408254cf2f1d
1 package de.mpg.mpiwg.berlin.mpdl.donatus.analysis.lang;
2
3 import java.io.File;
4 import java.io.IOException;
5 import java.util.Hashtable;
6
7 import de.mpg.mpiwg.berlin.mpdl.donatus.analysis.DonatusAnalyzer;
8
9 public class DonatusAnalyzerDE extends DonatusAnalyzer {
10 private static String LANGUAGE = "de";
11
12 public DonatusAnalyzerDE() {
13 super();
14 setLanguage(LANGUAGE);
15 }
16
17 /**
18 * Builds an analyzer with the given stop words.
19 */
20 public DonatusAnalyzerDE(String[] stopwords) {
21 super(stopwords);
22 setLanguage(LANGUAGE);
23 }
24
25 /**
26 * Builds an analyzer with the given stop words.
27 */
28 public DonatusAnalyzerDE(Hashtable stopwords) {
29 super(stopwords);
30 setLanguage(LANGUAGE);
31 }
32
33 /**
34 * Builds an analyzer with the given stop words.
35 */
36 public DonatusAnalyzerDE(File stopwords) throws IOException {
37 super(stopwords);
38 setLanguage(LANGUAGE);
39 }
40
41 }