You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by ot...@apache.org on 2008/05/17 03:56:46 UTC

svn commit: r657280 - /lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java

Author: otis
Date: Fri May 16 18:56:46 2008
New Revision: 657280

URL: http://svn.apache.org/viewvc?rev=657280&view=rev
Log:
- Javadocs fixes

Modified:
    lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java

Modified: lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java?rev=657280&r1=657279&r2=657280&view=diff
==============================================================================
--- lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java (original)
+++ lucene/java/trunk/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java Fri May 16 18:56:46 2008
@@ -26,11 +26,11 @@
 import org.apache.lucene.analysis.Token;
 
 /**
- * <p>A ShingleFilter constructs shingles (token n-grams) from a token stream,
- * that is, combinations of tokens that are indexed as one token.
+ * <p>A ShingleFilter constructs shingles (token n-grams) from a token stream.
+ * In other words, it creates combinations of tokens as a single token.
  *
  * <p>For example, the sentence "please divide this sentence into shingles"
- * would be tokenized into the tokens "please divide", "divide this",
+ * might be tokenized into shingles "please divide", "divide this",
  * "this sentence", "sentence into", and "into shingles".
  *
  * <p>This filter handles position increments > 1 by inserting filler tokens
@@ -72,7 +72,7 @@
   private int maxShingleSize;
 
   /**
-   * Construct a ShingleFilter with the specified single size from the
+   * Constructs a ShingleFilter with the specified single size from the
    * TokenStream <code>input</code>
    *
    * @param input input stream