You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by karthik085 <ka...@gmail.com> on 2007/11/02 04:08:33 UTC

Re: plugin analyzer

Is there an option I can add in nutch-site.xml to let me change the analyzer
I want?


Jérôme Charron wrote:
> 
>> I read about the MultiLingualSupport, but I didn't see it in the
>> repository, I think is cool.
> 
> The analyzer extension point is defined by the Analyzer abstract class:
> http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/src/java/org/apache/nutch/analysis/NutchAnalyzer.java
> The default analyzer is this one:
> http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/src/java/org/apache/nutch/analysis/NutchDocumentAnalyzer.java
> The choice of the analyzer to use is done by the AnalyzerFactory:
> http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/src/java/org/apache/nutch/analysis/AnalyzerFactory.java
> The german analyzer is located at:
> http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/src/plugin/analysis-de/
> and the french one at:
> http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/src/plugin/analysis-fr/
> 
>> Yes, I actually hacked the src code to provide stemming and I changed the
>> analyzer, added a new query-stemm plugin and changed the summarizer (as
>> the
>> terms were not highlighted after using the stemmer).
>>
> Sounds good!
> 
> Regards
> 
> Jérôme
> 
> --
> http://motrech.free.fr/
> http://www.frutch.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/plugin-analyzer-tf374779.html#a13541612
Sent from the Nutch - Dev mailing list archive at Nabble.com.