On Wed, Jul 8, 2009 at 5:33 PM, Steve Tolkin<[email protected]> wrote:
[...]
> Alternatively, can someone recommend  another perl module for prefix
> searching on a moderately large set of strings, e.g. trie  or suffix tree or
> suffix array, etc..  It must be reliable and easy to use.

I should have responded to this part first.

My recommendation would be to use DB_File to store data in a BTREE.
With a BTREE you can use the seq method using the R_CURSOR flag to do
partial matches.

Search in the DB_File documentation for "Matching Partial Keys" for details.

Ben

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to