On Fri, 22 Feb 2008 11:06:40 +0100, Andi Vajda <[EMAIL PROTECTED]> wrote:


On Feb 21, 2008, at 22:10, "Dirk Rothe" <[EMAIL PROTECTED]> wrote:

I'm not sure if I miss something obvious, but how could I access stuff in org.apache.lucene.analysis.de.

http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache/lucene/analysis/de/package-summary.html

I havent found it in the pylucene namespace.


The Java Lucene package structure is flattened in PyLucene. In other words, just import the class name from lucene:
    from lucene import GermanAnalyzer

Andi..

aah, I see, but there are two GermanStemmers:

http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//allclasses-frame.html
[..]
FuzzyQuery.ScoreTermQueue
FuzzyTermEnum
German2Stemmer
GermanAnalyzer
GermanStemFilter
GermanStemmer
GermanStemmer
GradientFormatter
GreekAnalyzer
GreekCharsets
GreekLowerCaseFilter
HTMLDocument
HTMLParser
[..]

One is from:
java.lang.Object
  net.sf.snowball.SnowballProgram
      net.sf.snowball.ext.GermanStemmer

and the other from:
java.lang.Object
  org.apache.lucene.analysis.de.GermanStemmer

pylucene seems to wrap only the second one.

--dirkse
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to