Skip to topic | Skip to bottom
Home
CS646
CS646.P7r1.2 - 02 Dec 2003 - 23:39 - ToniRathtopic end

Start of topic | Skip to actions

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.

-- ToniRath - 01 Dec 2003
to top


You are here: CS646 > P7

to top

Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback