phpc.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A server for PHP programmers & friends. Join us for discussions on the PHP programming language, frameworks, packages, tools, open source, tech, life, and more.

Administered by:

Server stats:

834
active users

#soundex

0 posts0 participants0 posts today
Terence Eden<p>We now have over thirty-four thousand crowdsourced entries on <span class="h-card" translate="no"><a href="https://bsky.brid.gy/r/https://bsky.app/profile/openbenches.org" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>openbenches.org</span></a></span> !</p><p>Here's how I used <a href="https://mastodon.social/tags/SOUNDEX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SOUNDEX</span></a> to discover all the duplicates.</p><p><a href="https://shkspr.mobi/blog/2020/11/using-soundex-to-find-duplicate-database-entries/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">shkspr.mobi/blog/2020/11/using</span><span class="invisible">-soundex-to-find-duplicate-database-entries/</span></a></p>
Out of Control :laravel: 🇨🇦<p>Needed to do some fuzzy matches in <a href="https://phpc.social/tags/Laravel" class="mention hashtag" rel="tag">#<span>Laravel</span></a> with a 5000+ row array to account for differently spelled company names across two APIs. Played with <a href="https://phpc.social/tags/Levenshtein" class="mention hashtag" rel="tag">#<span>Levenshtein</span></a>, <a href="https://phpc.social/tags/SoundEx" class="mention hashtag" rel="tag">#<span>SoundEx</span></a> and <a href="https://phpc.social/tags/similar_text" class="mention hashtag" rel="tag">#<span>similar_text</span></a> in <a href="https://phpc.social/tags/PHP" class="mention hashtag" rel="tag">#<span>PHP</span></a>. Found similar_text worked best by far for this perhaps. Ended up using array_walk to accomplish this with ease. Would love to hear others experiences in doing fuzzy matches between arrays.</p>