On Sun, Jan 22, 2012 at 5:47 PM, Anderson vasconcelos <anderson.v...@gmail.com> wrote: > Anyone could help? > > Thanks > > 2012/1/20, Anderson vasconcelos <anderson.v...@gmail.com>: >> Hi >> >> The phonetic filters (DoubleMetaphone, Metaphone, Soundex, RefinedSoundex, >> Caverphone) is only for english language or works for other languages? Have >> some phonetic filter for portuguese? If dont have, how i can implement >> this?
We did this, in another context, by using the open-source aspell library to handle the spell-checking for us. This has distinct advantages as aspell is well-tested, handles soundslike in a better manner at least IMHO, and supports a wide variety of languages, including Portugese. There are some drawbacks, as aspell only has C/C++ interfaces, and hence we built bindings on top of SWIG. Also, we handled the integration with Solr via a custom filter factory, though there are better ways to do this. Such a project would thus, have dependencies on aspell, and our custom code. If there is interest in this, we would be happy to open source this code: Given our current schedule this could take 2-3 weeks. Regards, Gora