[pylucene-dev] How to call finalize?
anuraguniyal at yahoo.com
Thu Jan 17 02:02:01 PST 2008
I have a custom analyzer which uses custom tokenizers in its tokenStream method. (see attached code)
Now tokenStream may be called several times over which i have no control.
How can I call finalizef or custome tokenizers created in tokenStream?
Is there a simple way?
Otherwise I will wrap tokenStream method to keep track of custometokenizers and finalize them once i get StopIteration.
Get the freedom to save as many mails as you wish. To know how, go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pylucene-dev