|
P7 Questions and Answers
Q (Lucene only): Lucene's StandardAnalyzer does not do stemming. What should we do for the run using "Lucene's [or Lemur's] standard stemming algorithm" (as required in the P7 project description)?
|
< < |
A: For that run, build your own Analyzer that uses Lucene's implementation of the Porter Stemmer (PorterStemmer.java/PorterStemFilter.java files). Look at how StandardAnalyzer is built and implement your analyzer along those lines with an extra call to the stemming filter.
|
> > |
A: For that run, build your own Analyzer that uses Lucene's implementation of the Porter stemmer (PorterStemmer.java/PorterStemFilter.java files). Look at how StandardAnalyzer is built and implement your analyzer along those lines with an extra call to the stemming filter.
|
|
-- ToniRath - 01 Dec 2003
|