Hmmm...even in a 3.9-7067 fresh image, I get a Syntax error when trying to load from Monticello:<br><br>testProcessCxNothing more expected -&gt;_1<br>&nbsp;&nbsp;&nbsp; dmsc inputKey: &#39;abcdefg&#39;.<br>&nbsp;&nbsp;&nbsp; self should: [ dmsc inputKey = &#39;ABCDEFG&#39; ].<br>
<br>&nbsp;&nbsp;&nbsp; self should: [ dmsc primaryTranslation = &#39;&#39; ].<br>&nbsp;&nbsp;&nbsp; self should: [ dmsc secondaryTranslation = &#39;&#39; ].<br>&nbsp;&nbsp;&nbsp; self should: [ dmsc skipCount = 0 ].<br>&nbsp;&nbsp;&nbsp; dmsc currentIndex: 3.<br><br>&nbsp;&nbsp;&nbsp; dmsc processC.<br>
<br>&nbsp;&nbsp;&nbsp; self should: [ dmsc primaryTranslation = &#39;K&#39; ].<br>&nbsp;&nbsp;&nbsp; self should: [ dmsc secondaryTranslation = &#39;K&#39; ].<br>&nbsp;&nbsp;&nbsp; self should: [ dmsc skipCount = 0 ]<br><br>Rob<br><br><div class="gmail_quote">On Fri, Jan 16, 2009 at 11:37 AM, Ron Teitelbaum <span dir="ltr">&lt;<a href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</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;">Hi Ian,<br>
<br>
This is from WikiPedia: <a href="http://en.wikipedia.org/wiki/Double_Metaphone" target="_blank">http://en.wikipedia.org/wiki/Double_Metaphone</a><br>
<br>
Use the Double Metaphone if you are interested in other languages.<br>
<br>
The Double Metaphone search algorithm is a phonetic algorithm written by<br>
Lawrence Philips and is the second generation of his Metaphone algorithm.<br>
Its implementation was described in the June 2000 issue of C/C++ Users<br>
Journal.<br>
<br>
It is called &quot;Double&quot; because it can return both a primary and a secondary<br>
code for a string; this accounts for some ambiguous cases as well as for<br>
multiple variants of surnames with common ancestry. For example, encoding<br>
the name &quot;Smith&quot; yields a primary code of SM0 and a secondary code of XMT,<br>
while the name &quot;Schmidt&quot; yields a primary code of XMT and a secondary code<br>
of SMT--both have XMT in common.<br>
<br>
Double Metaphone tries to account for myriad irregularities in English of<br>
Slavic, Germanic, Celtic, Greek, French, Italian, Spanish, Chinese, and<br>
other origin. Thus it uses a much more complex ruleset for coding than its<br>
predecessor; for example, it tests for approximately 100 different contexts<br>
of the use of the letter C alone. In the introduction to his original<br>
journal article, Mr. Philips defended this complexity.<br>
<br>
Hope that helps!<br>
<font color="#888888"><br>
Ron Teitelbaum<br>
</font><div><div></div><div class="Wj3C7c"><br>
&gt; -----Original Message-----<br>
&gt; From: Ian Trudel [mailto:<a href="mailto:ian.trudel@gmail.com">ian.trudel@gmail.com</a>]<br>
&gt; Sent: Friday, January 16, 2009 11:29 AM<br>
&gt; To: <a href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</a>; The general-purpose Squeak developers list<br>
&gt; Subject: Re: [squeak-dev] SoundsLike package released on SqueakSource<br>
&gt;<br>
&gt; Sounds great, Ron! Has SoundsLike only English phonetics or it is<br>
&gt; possible to define and use phonetics from other languages? Let&#39;s say,<br>
&gt; multilingual. :)<br>
&gt;<br>
&gt; Ian<br>
&gt;<br>
&gt; 2009/1/16 Ron Teitelbaum &lt;<a href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</a>&gt;:<br>
&gt; &gt; Hello all,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I have released a new package on SqueakSource that contains SoundEx and<br>
&gt; &gt; DoubleMetaphone.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; <a href="http://www.squeaksource.com/SoundsLike.html" target="_blank">http://www.squeaksource.com/SoundsLike.html</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; This package adds soundsLike: to string<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &#39;titlebalm&#39; soundsLike: &#39;teitelbaum&#39;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; You can also get the phenoticStringsFor: a word to store in a database<br>
&gt; for<br>
&gt; &gt; later queries.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; PhoneticStringComparator defaultClass &quot;SoundEx&quot; new phoneticStringsFor:<br>
&gt; &gt; &#39;titlebalm&#39; #(&#39;T341&#39;)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; DoubleMetaphoneStringComparator new phoneticStringsFor: &#39;teitelbaum&#39;<br>
&gt; &gt; #(&#39;TTLPM&#39; &#39;TTLPM&#39;)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Let me know if you have any questions.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Ron Teitelbaum<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ________________________________<br>
&gt; &gt;<br>
&gt; &gt; From: <a href="mailto:beginners-bounces@lists.squeakfoundation.org">beginners-bounces@lists.squeakfoundation.org</a><br>
&gt; &gt; [mailto:<a href="mailto:beginners-bounces@lists.squeakfoundation.org">beginners-bounces@lists.squeakfoundation.org</a>] On Behalf Of Rob<br>
&gt; &gt; Rothwell<br>
&gt; &gt; Sent: Friday, January 16, 2009 6:35 AM<br>
&gt; &gt; To: <a href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</a><br>
&gt; &gt; Cc: A friendly place to get answers to even the most basic<br>
&gt; &gt; questionsaboutSqueak.<br>
&gt; &gt; Subject: Re: [Newbies] SoundEx algorithm<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; No rush...I am working on a custom recipe program for my wife and wanted<br>
&gt; to<br>
&gt; &gt; use it to search ingredients and still find something that was<br>
&gt; misspelled!<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Rob<br>
&gt; &gt;<br>
&gt; &gt; On Thu, Jan 15, 2009 at 10:10 PM, Ron Teitelbaum &lt;<a href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; I did one but didn&#39;t release it anywhere. &nbsp;I did metaphone and double<br>
&gt; &gt; metaphone.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Maybe I can dig it up. &nbsp;When did you need it?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Ron Teitelbaum<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ________________________________<br>
&gt; &gt;<br>
&gt; &gt; From: <a href="mailto:beginners-bounces@lists.squeakfoundation.org">beginners-bounces@lists.squeakfoundation.org</a><br>
&gt; &gt; [mailto:<a href="mailto:beginners-bounces@lists.squeakfoundation.org">beginners-bounces@lists.squeakfoundation.org</a>] On Behalf Of Rob<br>
&gt; &gt; Rothwell<br>
&gt; &gt; Sent: Monday, January 12, 2009 4:39 PM<br>
&gt; &gt; To: Beginners Sqeak<br>
&gt; &gt; Subject: [Newbies] SoundEx algorithm<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Does anyone know of a SoundEx algorithm in Squeak before I go write one<br>
&gt; &gt; myself?<br>
&gt; &gt;<br>
&gt; &gt; Never hurts to ask!<br>
&gt; &gt;<br>
&gt; &gt; Rob<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
<br>
<br>
</div></div></blockquote></div><br>