Author: jerome
Date: Wed Aug 31 04:38:28 2005
New Revision: 265020

URL: http://svn.apache.org/viewcvs?rev=265020&view=rev
Log:
Fixes some typo (analySer => analyZer)

Modified:
    lucene/nutch/trunk/src/java/org/apache/nutch/analysis/AnalyzerFactory.java

Modified: 
lucene/nutch/trunk/src/java/org/apache/nutch/analysis/AnalyzerFactory.java
URL: 
http://svn.apache.org/viewcvs/lucene/nutch/trunk/src/java/org/apache/nutch/analysis/AnalyzerFactory.java?rev=265020&r1=265019&r2=265020&view=diff
==============================================================================
--- lucene/nutch/trunk/src/java/org/apache/nutch/analysis/AnalyzerFactory.java 
(original)
+++ lucene/nutch/trunk/src/java/org/apache/nutch/analysis/AnalyzerFactory.java 
Wed Aug 31 04:38:28 2005
@@ -44,7 +44,7 @@
 
   private final static Map CACHE = new HashMap();
 
-  private final static NutchAnalyzer DEFAULT_ANALYSER = 
+  private final static NutchAnalyzer DEFAULT_ANALYZER = 
                                             new NutchDocumentAnalyzer();
   
   
@@ -60,22 +60,22 @@
 
   
   /**
-   * Returns the appropriate [EMAIL PROTECTED] Analyser} implementation given 
a language
-   * code.
+   * Returns the appropriate [EMAIL PROTECTED] NutchAnalyzer analyzer} 
implementation
+   * given a language code.
    *
-   * <p>NutchAnalyser extensions should define the attribute "lang". The first
+   * <p>NutchAnalyzer extensions should define the attribute "lang". The first
    * plugin found whose "lang" attribute equals the specified lang parameter is
    * used. If none match, then the [EMAIL PROTECTED] NutchDocumentAnalyzer} is 
used.
    */
   public static NutchAnalyzer get(String lang) {
 
-    NutchAnalyzer analyzer = DEFAULT_ANALYSER;
+    NutchAnalyzer analyzer = DEFAULT_ANALYZER;
     Extension extension = getExtension(lang);
     if (extension != null) {
         try {
             analyzer = (NutchAnalyzer) extension.getExtensionInstance();
         } catch (PluginRuntimeException pre) {
-            analyzer = DEFAULT_ANALYSER;
+            analyzer = DEFAULT_ANALYZER;
         }
     }
     return analyzer;


Reply via email to