lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: Implementing Analyzer with Pling Stemmer
Date Sun, 23 May 2010 16:24:39 GMT
Just look at the source code of PorterStemFilter.java and its corresponding
Analyzer in Lucene Java. Simply copy the code and replace the calls to stem
a String by the ones from this class. Depending on if your code
takes/returns String or char[], you have to modify the code a little bit
according to TermAttribute's Javadocs.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Xaida [mailto:hota.aida@gmail.com]
> Sent: Sunday, May 23, 2010 6:11 PM
> To: java-user@lucene.apache.org
> Subject: Implementing Analyzer with Pling Stemmer
> 
> 
> Hi guys!
> 
> for the purpose of my project professor has advised me I should use the
> PlingStemmer to index the terms obtained from Lucene.
> http://www.mpi-inf.mpg.de/yago-
> naga/javatools/doc/javatools/parsers/PlingStemmer.html
> 
> I see it is new approach and for sure I understand benefits of
incorporating it
> into my project, but building an Analyzer was bit far out of my view of
the
> project, (but what can we do now:)). So I am having problems wrapping my
> head around how to incorporate the PlingStemmer to build a custom
> analyzer :/ If someone can help me with advices, links, or someone already
> had experience with PlingStemmer, I would be very grateful, all help is
very
> very welcome!!!!!
> 
> Thanx!
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Implementing-Analyzer-with-Pling-
> Stemmer-tp838028p838028.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message