lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r178833 - /lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl
Date Fri, 27 May 2005 23:02:07 GMT
Author: dnaber
Date: Fri May 27 16:02:07 2005
New Revision: 178833

URL: http://svn.apache.org/viewcvs?rev=178833&view=rev
Log:
small javadoc fixes

Modified:
    lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java
    lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemFilter.java
    lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java

Modified: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java?rev=178833&r1=178832&r2=178833&view=diff
==============================================================================
--- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java
(original)
+++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java
Fri May 27 16:02:07 2005
@@ -30,16 +30,14 @@
 import java.util.Map;
 
 /**
+ * Analyzer for Dutch language. Supports an external list of stopwords (words that
+ * will not be indexed at all), an external list of exclusions (word that will
+ * not be stemmed, but indexed) and an external list of word-stem pairs that overrule
+ * the algorithm (dictionary stemming).
+ * A default set of stopwords is used unless an alternative list is specified, the
+ * exclusion list is empty by default.
+ * 
  * @author Edwin de Jonge
- *         <p/>
- *         Analyzer for Dutch language. Supports an external list of stopwords (words that
- *         will not be indexed at all), an external list of exclusions (word that will
- *         not be stemmed, but indexed) and an external list of word-stem pairs that overrule
- *         the algorithm (dictionary stemming).
- *         A default set of stopwords is used unless an alternative list is specified, the
- *         exclusion list is empty by default.
- *         As start for the Analyzer the German Analyzer was used. The stemming algorithm
- *         implemented can be found at @link
  */
 public class DutchAnalyzer extends Analyzer {
   /**
@@ -147,7 +145,8 @@
   /**
    * Creates a TokenStream which tokenizes all the text in the provided TextReader.
    *
-   * @return A TokenStream build from a StandardTokenizer filtered with StandardFilter, StopFilter,
GermanStemFilter
+   * @return A TokenStream build from a StandardTokenizer filtered with StandardFilter,
+   * StopFilter, DutchStemFilter
    */
   public TokenStream tokenStream(String fieldName, Reader reader) {
     TokenStream result = new StandardTokenizer(reader);

Modified: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemFilter.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemFilter.java?rev=178833&r1=178832&r2=178833&view=diff
==============================================================================
--- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemFilter.java
(original)
+++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemFilter.java
Fri May 27 16:02:07 2005
@@ -27,11 +27,11 @@
 import java.util.Map;
 
 /**
+ * A filter that stems Dutch words. It supports a table of words that should
+ * not be stemmed at all. The stemmer used can be changed at runtime after the
+ * filter object is created (as long as it is a DutchStemmer).
+ * 
  * @author Edwin de Jonge
- *         <p/>
- *         A filter that stems Dutch words. It supports a table of words that should
- *         not be stemmed at all. The stemmer used can be changed at runtime after the
- *         filter object is created (as long as it is a DutchStemmer).
  */
 public final class DutchStemFilter extends TokenFilter {
   /**

Modified: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java?rev=178833&r1=178832&r2=178833&view=diff
==============================================================================
--- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java
(original)
+++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java
Fri May 27 16:02:07 2005
@@ -18,12 +18,13 @@
 
 import java.util.Map;
 
-/*
- * @author Edwin de Jonge (ejne@cbs.nl)
+/**
  *
  * A stemmer for Dutch words. The algorithm is an implementation of
- * the <see cref="http://snowball.tartarus.org/dutch/stemmer.html">dutch stemming</see>
- *  algorithm in snowball. Snowball is a project of Martin Porter (does Porter Stemmer ring
a bell?):
+ * the <a href="http://snowball.tartarus.org/algorithms/dutch/stemmer.html">dutch stemming</a>
+ * algorithm in Martin Porter's snowball project.
+ * 
+ * @author Edwin de Jonge (ejne at cbs.nl)
  */
 
 public class DutchStemmer {



Mime
View raw message