Roll my own TokenFilter subclass


#1

Hi all,

I’d like to write my own TokenStream Filter (in lucene this would be a
subclass of a TokenFilter, which ferret seems to lack) but I’m not
sure how to go about it. Specifically, it’s not clear how I’d create
a non-trivial TokenStream to pass out to any filters that wrapped
mine.

Can anyone point me towards a code example? Thanks.


#2

Can anyone point me towards a code example? Thanks.

It’s not exactly what you want, but you might glean some help from our
Multilingual Ferret Tools at
http://svn.lingr.com/plugins/multilingual_ferret_tools

Best Regards,

Danny