Re: Building Python Document 30% faster.

Naoki INADA <[email protected]>
Newsgroups gmane.comp.python.documentation
Message-ID <[email protected]>
>>> But searchindex.js with PyStemmer is different to one with PorterStemmer.
>>
>> This could be a problem.  The client-side search implemented in JavaScript
>> uses exactly the same stemmer (which is necessary to be able to find all
>> words).  In short, if you can find a C implementation of the Porter stemmer
>> we could include it in Sphinx as an optional extension.
>
> I see.
> Original Porter Stemmer is here.
> http://tartarus.org/~martin/PorterStemmer/
>
> And that implemented in C. I'll try to make Python wrapper with swig and
> compare searchindex.js. Wait for a while.

I make a Python wrapper!
http://bitbucket.org/methane/porterstemmer/

This is my first extension module, and still alpha version.
But I can build Python document with the porterstemmer and searchindex.js is
same to original.

-- 
Naoki INADA  <[email protected]>
   KLab Inc.  <http://www.klab.jp>
_______________________________________________
Doc-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/doc-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.