Forum: Ferret roll my own TokenFilter subclass

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Richard J. (Guest)
on 2007-05-19 01:13
(Received via mailing list)
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.
Danny B. (Guest)
on 2007-05-19 02:41
> 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
This topic is locked and can not be replied to.