[pylucene-dev] How to call finalize?
anurag uniyal
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.
rgds
Anurag
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...
URL: http://lists.osafoundation.org/pipermail/pylucene-dev/attachments/20080117/1bbe1fc1/attachment.htm
More information about the pylucene-dev
mailing list