OFTrie
Andriy Gordiychuk <ag556-KWPb1pKIrIJaa/[email protected]> Tue, 4 Jan 2011 02:56:57 +0200
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear Sirs, I was reading through your instructions about setting up OFTrie here: http://www.omnigroup.com/mailman/archive/macosx-dev/2002-April/037676.html . I would like to be able to use this class to perform the search of all the string matching certain prefix, however, the problem that I am having is that my initial list is a plain array of words. Maybe I am not understanding fully the abilities of this class, but I don't see how I can convert a list of words to OFTrie... My full task is to find 4 words with the same initial 2-3 letters from the list of 50,000+ words. So, I choose my initial guess, extract the prefix from it and then see if I can find 4 words with the same one. Would you be able to assist me somehow or point me to where I could find a solution to what I need? Thank you very much in advance With best wishes, Andriy