diff software/eXist/mpdl-modules/src/de/mpg/mpiwg/berlin/mpdl/donatus/analysis/lang/DonatusAnalyzerAR.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/donatus/analysis/lang/DonatusAnalyzerAR.java	Wed Nov 24 17:24:23 2010 +0100
@@ -0,0 +1,41 @@
+package de.mpg.mpiwg.berlin.mpdl.donatus.analysis.lang;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.Hashtable;
+
+import de.mpg.mpiwg.berlin.mpdl.donatus.analysis.DonatusAnalyzer;
+
+public class DonatusAnalyzerAR extends DonatusAnalyzer {
+  private static String LANGUAGE = "ar";
+
+  public DonatusAnalyzerAR() {
+    super();
+    setLanguage(LANGUAGE);
+  }
+
+  /**
+   * Builds an analyzer with the given stop words.
+   */
+  public DonatusAnalyzerAR(String[] stopwords) {
+    super(stopwords);
+    setLanguage(LANGUAGE);
+  }
+
+  /**
+   * Builds an analyzer with the given stop words.
+   */
+  public DonatusAnalyzerAR(Hashtable stopwords) {
+    super(stopwords);
+    setLanguage(LANGUAGE);
+  }
+
+  /**
+   * Builds an analyzer with the given stop words.
+   */
+  public DonatusAnalyzerAR(File stopwords) throws IOException {
+    super(stopwords);
+    setLanguage(LANGUAGE);
+  }
+
+}