You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ot...@apache.org on 2007/04/27 20:25:12 UTC
svn commit: r533184 -
/lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java
Author: otis
Date: Fri Apr 27 11:25:11 2007
New Revision: 533184
URL: http://svn.apache.org/viewvc?view=rev&rev=533184
Log:
- Javadoc typos
Modified:
lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java?view=diff&rev=533184&r1=533183&r2=533184
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/analysis/PatternTokenizerFactory.java Fri Apr 27 11:25:11 2007
@@ -39,18 +39,18 @@
* "pattern" is the regular expression.
* "group" says which group to extract into tokens.
*
- * group=-1 (the default) is equuivolent to "split". In this case, the tokes will
- * be equivolent to the output from:
+ * group=-1 (the default) is equivalent to "split". In this case, the tokens will
+ * be equivalent to the output from:
*
* http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#split(java.lang.String)
*
- * Using group >= 0 selects the matching group as the token. For example, it you have:
+ * Using group >= 0 selects the matching group as the token. For example, if you have:
*
* pattern = \'([^\']+)\'
* group = 0
* input = aaa 'bbb' 'ccc'
*
- * the output will be two tokens: 'bbb' and 'ccc' (including the ' marks). With the same input
+ * the output will be two tokens: 'bbb' and 'ccc' (including the ' marks). With the same input
* but using group=1, the output would be: bbb and ccc (no ' marks)
*
*