Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

small javadoc fixes

Daniel Naber952cfd54be67
diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java
index f6d7fcb6b0f..f1194f30f28 100644
--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java
+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java
@@ -30,16 +30,14 @@ import java.util.Set;
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 @@ public class DutchAnalyzer extends Analyzer {
/**
* 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);
diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemFilter.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemFilter.java
index 9b8a6b6fef6..0b6b316c747 100644
--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemFilter.java
+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemFilter.java
@@ -27,11 +27,11 @@ import java.util.Set;
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 {
/**
diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java
index 315bc52d7fe..464b8c7a317 100644
--- a/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java
+++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/nl/DutchStemmer.java
@@ -18,12 +18,13 @@ package org.apache.lucene.analysis.nl;
import java.util.Map;
-/*
- * @author Edwin de Jonge ([email protected])
+/**
*
* 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 {