On Thu, Aug 16, 2012 at 10:56 AM, jellyman <colm_r...@hotmail.com> wrote: > Hi Ted, > > > Thanks for the URL. To answer your question: I'm adding another phoenetic > algorithm to the org.apache.commons.codec.language package (as the rest of > them live there) and then hardwire it into the > lucene/analysis/phoenetic/src/java path like the existing phoenetic filters > that exist there already. Following existing pattern essentially. > I'm assuming that you have to edit this pre-built package or am I missing > something? I think that I am... >
You don't need to actually modify commons-codec to do that, you can just write your own phonetic encoder, extending org.apache.commons.codec.Encoder, and pass that to PhoneticFilter. -- lucidworks.com