From 1d5ba345cc53692317dbaf357540d7968b77d1ce Mon Sep 17 00:00:00 2001 From: Otis Gospodnetic Date: Sat, 17 May 2008 01:56:46 +0000 Subject: [PATCH] - Javadocs fixes git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@657280 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/lucene/analysis/shingle/ShingleFilter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java b/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java index 506efdef8d2..af8e80a8878 100644 --- a/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java +++ b/contrib/analyzers/src/java/org/apache/lucene/analysis/shingle/ShingleFilter.java @@ -26,11 +26,11 @@ import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.Token; /** - *

A ShingleFilter constructs shingles (token n-grams) from a token stream, - * that is, combinations of tokens that are indexed as one token. + *

A ShingleFilter constructs shingles (token n-grams) from a token stream. + * In other words, it creates combinations of tokens as a single token. * *

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". * *

This filter handles position increments > 1 by inserting filler tokens @@ -72,7 +72,7 @@ public class ShingleFilter extends TokenFilter { private int maxShingleSize; /** - * Construct a ShingleFilter with the specified single size from the + * Constructs a ShingleFilter with the specified single size from the * TokenStream input * * @param input input stream