<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Find all the names that &amp;quot;sounds alike&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322318#M71298</link>
    <description>&lt;PRE&gt;
Sound like operator in SQL is =* 

WHERE EfterNamn =*  'Munson'  ;


&lt;/PRE&gt;</description>
    <pubDate>Wed, 04 Jan 2017 03:49:25 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2017-01-04T03:49:25Z</dc:date>
    <item>
      <title>Find all the names that "sounds alike"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322115#M71239</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm doing an excerise where I'm trying to create a list with names that "sounds alike" och with a different spellibg ("Smith" and "Smythe" or "AAron" and "Aron"). I only have 1 table to look through and tried a very simple excerise where I hard-coded a name on which the program will look at to find names that sounds like it (see below):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="Calibri,Arial,Helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;proc sql;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Calibri,Arial,Helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;create table soundex as&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Calibri,Arial,Helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;SELECT EfterNamn&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Calibri,Arial,Helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;FROM Person&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Calibri,Arial,Helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;WHERE SOUNDEX('Munson') = SOUNDEX(EfterNamn);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT face="Calibri,Arial,Helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;quit;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are two names in that table that sounds like Munson (Munksson and Munkson) and therefor a list is created with only those names. However, I want a code that is applied on all the names in that table for a list to be created with those names, whether it's Munson and Munksson or Anderson and Andersson. I've tried to find an example online, but only seem to find examples where they use a soundex on two tables... Has anyone done this before? If so, can anyone help me out a little? &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Betty&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 12:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322115#M71239</guid>
      <dc:creator>BettyLoo</dc:creator>
      <dc:date>2017-01-03T12:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find all the names that "sounds alike"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322124#M71243</link>
      <description>&lt;P&gt;You might look at the SPEDIS function, which&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;describes in this blog post, &lt;A href="http://blogs.sas.com/content/iml/2011/10/05/distances-between-words.html" target="_self"&gt;Distances between words&lt;/A&gt;. &amp;nbsp;His example uses SAS/IML to create a sort of matrix of distances between words.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, check out the COMPLEV and COMPGED functions, &lt;A href="http://blogs.sas.com/content/sgf/2015/01/27/how-to-perform-a-fuzzy-match-using-sas-functions/" target="_self"&gt;as described in this blog post&lt;/A&gt; from a SAS Tech Support consultant.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have the data quality software from SAS, you can use Match Codes (DQMATCH) to determine which names are likely the same or similar.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 14:13:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322124#M71243</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-01-03T14:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Find all the names that "sounds alike"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322125#M71244</link>
      <description>&lt;P&gt;This thread may be helpful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Name-matching/td-p/82780" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Name-matching/td-p/82780&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 14:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322125#M71244</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-03T14:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Find all the names that "sounds alike"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322126#M71245</link>
      <description>&lt;P&gt;If you are looking for names that sounds like &lt;STRONG&gt;a given name&lt;/STRONG&gt; you can use next code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let myname = &amp;lt;any given name&amp;gt;;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
   title "Names Sound Like &amp;amp;myname";
   select name
      from table
        where name=*"&amp;amp;myname";
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;but, if you want to find all groups of name that have same sound-like in a table,&lt;/P&gt;
&lt;P&gt;then assume the table contains N names, you will need compare N*(N-1)/2 couple names&lt;/P&gt;
&lt;P&gt;and assign a flag if the couple sounds alike or &amp;nbsp;not.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 14:19:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322126#M71245</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-01-03T14:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Find all the names that "sounds alike"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322141#M71252</link>
      <description>And, I found this paper to be a concise description of the different methods:&lt;BR /&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings12/122-2012.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings12/122-2012.pdf&lt;/A&gt; and this is another of my favorites:&lt;BR /&gt;&lt;A href="http://www.lexjansen.com/nesug/nesug07/ap/ap23.pdf" target="_blank"&gt;http://www.lexjansen.com/nesug/nesug07/ap/ap23.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Tue, 03 Jan 2017 14:50:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322141#M71252</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-01-03T14:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Find all the names that "sounds alike"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322318#M71298</link>
      <description>&lt;PRE&gt;
Sound like operator in SQL is =* 

WHERE EfterNamn =*  'Munson'  ;


&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jan 2017 03:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322318#M71298</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-01-04T03:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Find all the names that "sounds alike"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322337#M71308</link>
      <description>&lt;P&gt;If you want all unique "sounds like" pairs, join the table to itself on the sound-like relation, and insert a where condition to eliminate duplicates and identical spellings&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
  select a.name,b.name
  from 
    have as a
  inner join 
    have as b
  on a.name =*  b.name
  where a.name &amp;lt; b.name;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course, the sounds-like relation only allow equality/non-equality.&amp;nbsp; It doesn't all any notion of "distance" between a pair of names.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 06:31:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Find-all-the-names-that-quot-sounds-alike-quot/m-p/322337#M71308</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2017-01-04T06:31:23Z</dc:date>
    </item>
  </channel>
</rss>

