<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sorry about that I’ll have a look
and fix it over the weekend. I run it in 3.9 also so it should work. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Ron<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Rob Rothwell
[mailto:r.j.rothwell@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, January 16, 2009
8:32 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Ron@usmedrec.com; The
general-purpose Squeak developers list<br>
<b><span style='font-weight:bold'>Cc:</span></b> Ian Trudel<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [squeak-dev]
SoundsLike package released on SqueakSource</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Hmmm...even in a 3.9-7067
fresh image, I get a Syntax error when trying to load from <st1:State w:st="on"><st1:place
w:st="on">Monticello</st1:place></st1:State>:<br>
<br>
testProcessCxNothing more expected ->_1<br>
dmsc inputKey: 'abcdefg'.<br>
self should: [ dmsc inputKey = 'ABCDEFG' ].<br>
<br>
self should: [ dmsc primaryTranslation = '' ].<br>
self should: [ dmsc secondaryTranslation = '' ].<br>
self should: [ dmsc skipCount = 0 ].<br>
dmsc currentIndex: 3.<br>
<br>
dmsc processC.<br>
<br>
self should: [ dmsc primaryTranslation = 'K' ].<br>
self should: [ dmsc secondaryTranslation = 'K' ].<br>
self should: [ dmsc skipCount = 0 ]<br>
<br>
Rob<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Fri, Jan 16, 2009 at 11:37 AM, Ron Teitelbaum <<a
href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</a>> wrote:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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 "Double" 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 "Smith" yields a primary code of SM0 and a secondary code of
XMT,<br>
while the name "Schmidt" 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"><span style='color:#888888'><br>
Ron Teitelbaum</span></font><o:p></o:p></span></font></p>
<div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
> -----Original Message-----<br>
> From: Ian Trudel [mailto:<a href="mailto:ian.trudel@gmail.com">ian.trudel@gmail.com</a>]<br>
> Sent: Friday, January 16, 2009 11:29 AM<br>
> To: <a href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</a>; The
general-purpose Squeak developers list<br>
> Subject: Re: [squeak-dev] SoundsLike package released on SqueakSource<br>
><br>
> Sounds great, Ron! Has SoundsLike only English phonetics or it is<br>
> possible to define and use phonetics from other languages? Let's say,<br>
> multilingual. :)<br>
><br>
> Ian<br>
><br>
> 2009/1/16 Ron Teitelbaum <<a href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</a>>:<br>
> > Hello all,<br>
> ><br>
> ><br>
> ><br>
> > I have released a new package on SqueakSource that contains SoundEx
and<br>
> > DoubleMetaphone.<br>
> ><br>
> ><br>
> ><br>
> > <a href="http://www.squeaksource.com/SoundsLike.html" target="_blank">http://www.squeaksource.com/SoundsLike.html</a><br>
> ><br>
> ><br>
> ><br>
> > This package adds soundsLike: to string<br>
> ><br>
> ><br>
> ><br>
> > 'titlebalm' soundsLike: 'teitelbaum'<br>
> ><br>
> ><br>
> ><br>
> > You can also get the phenoticStringsFor: a word to store in a
database<br>
> for<br>
> > later queries.<br>
> ><br>
> ><br>
> ><br>
> > PhoneticStringComparator defaultClass "SoundEx" new
phoneticStringsFor:<br>
> > 'titlebalm' #('T341')<br>
> ><br>
> ><br>
> ><br>
> > DoubleMetaphoneStringComparator new phoneticStringsFor: 'teitelbaum'<br>
> > #('TTLPM' 'TTLPM')<br>
> ><br>
> ><br>
> ><br>
> > Let me know if you have any questions.<br>
> ><br>
> ><br>
> ><br>
> > Regards,<br>
> ><br>
> ><br>
> ><br>
> > Ron Teitelbaum<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > ________________________________<br>
> ><br>
> > From: <a href="mailto:beginners-bounces@lists.squeakfoundation.org">beginners-bounces@lists.squeakfoundation.org</a><br>
> > [mailto:<a href="mailto:beginners-bounces@lists.squeakfoundation.org">beginners-bounces@lists.squeakfoundation.org</a>]
On Behalf Of Rob<br>
> > Rothwell<br>
> > Sent: Friday, January 16, 2009 6:35 AM<br>
> > To: <a href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</a><br>
> > Cc: A friendly place to get answers to even the most basic<br>
> > questionsaboutSqueak.<br>
> > Subject: Re: [Newbies] SoundEx algorithm<br>
> ><br>
> ><br>
> ><br>
> > No rush...I am working on a custom recipe program for my wife and
wanted<br>
> to<br>
> > use it to search ingredients and still find something that was<br>
> misspelled!<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Rob<br>
> ><br>
> > On Thu, Jan 15, 2009 at 10:10 PM, Ron Teitelbaum <<a
href="mailto:Ron@usmedrec.com">Ron@usmedrec.com</a>><br>
> wrote:<br>
> ><br>
> > I did one but didn't release it anywhere. I did metaphone and
double<br>
> > metaphone.<br>
> ><br>
> ><br>
> ><br>
> > Maybe I can dig it up. When did you need it?<br>
> ><br>
> ><br>
> ><br>
> > Ron Teitelbaum<br>
> ><br>
> ><br>
> ><br>
> > ________________________________<br>
> ><br>
> > From: <a href="mailto:beginners-bounces@lists.squeakfoundation.org">beginners-bounces@lists.squeakfoundation.org</a><br>
> > [mailto:<a href="mailto:beginners-bounces@lists.squeakfoundation.org">beginners-bounces@lists.squeakfoundation.org</a>]
On Behalf Of Rob<br>
> > Rothwell<br>
> > Sent: Monday, January 12, 2009 4:39 PM<br>
> > To: Beginners Sqeak<br>
> > Subject: [Newbies] SoundEx algorithm<br>
> ><br>
> ><br>
> ><br>
> > Does anyone know of a SoundEx algorithm in Squeak before I go write
one<br>
> > myself?<br>
> ><br>
> > Never hurts to ask!<br>
> ><br>
> > Rob<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
<br>
<o:p></o:p></span></font></p>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</body>
</html>