<br><br><div class="gmail_quote">On 15 October 2010 15:22, jschmied <span dir="ltr">&lt;<a href="mailto:nabble@juergenschmied.de">nabble@juergenschmied.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi!<br>
<br>
I have way better results with DoubleMetaphone. It&#39;s available in apache<br>
commons codec.<br></blockquote><div><br>Indeed, although testing for 100 different contexts of the letter &#39;C&#39; alone<br>sounds quite heavy.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
You need a two step approach:<br>
<br>
First select the canidates with phonetic keys (Soundex/DoubleMetaphone)<br>
Then filter all canidates with the original search value with something like<br>
JaroWinkler and a defined threshold.<br></blockquote><div><br>But the &quot;soundslike&quot; operator in Drools is a binary relational operator. I<br>cannot relate your two-step approach to that. Drools currently has no<br>
intent of exposing the word-to-key algorithm. But who knows - if there&#39;s<br>good cause...<br><br>-W<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
juergen<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/soundslike-report-on-phonetic-matching-tp1707485p1707757.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/soundslike-report-on-phonetic-matching-tp1707485p1707757.html</a><br>

Sent from the Drools - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</font></blockquote></div><br>