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

#Levenshtein

0 posts0 participants0 posts today
Luís de Sousa<p>Looks like it is now a choice between two wrongs. At least one is <a href="https://mastodon.social/tags/OpenSource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenSource</span></a> and does not collect data. Kind of.</p><p><a href="https://mastodon.social/tags/DeepSeek" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DeepSeek</span></a> <a href="https://mastodon.social/tags/ChatGPT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ChatGPT</span></a> <a href="https://mastodon.social/tags/AI" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AI</span></a> <a href="https://mastodon.social/tags/LLM" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>LLM</span></a> <a href="https://mastodon.social/tags/Levenshtein" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Levenshtein</span></a></p>
Luís de Sousa<p><a href="https://mastodon.social/tags/ChatGPT" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ChatGPT</span></a> seems confused here. Sometimes this bot seems to have a double personality.</p><p><a href="https://mastodon.social/tags/Levenshtein" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Levenshtein</span></a></p>
Nouvelle-Techno.fr<p>🚀 Découvrez notre nouveau tutoriel sur la comparaison de textes avec la fonction Levenshtein en PHP ! Apprenez comment cette technique peut vous aider à améliorer vos projets web. Visionnez la vidéo ici : <a href="https://youtu.be/JhiBbqYrBn8" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/JhiBbqYrBn8</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> <a href="https://mastodon.social/tags/Levenshtein" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Levenshtein</span></a> <a href="https://mastodon.social/tags/WebDevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WebDevelopment</span></a> <a href="https://mastodon.social/tags/Programmation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programmation</span></a></p>
Old Hacker Public Radio<p>New Episode: hpr4026 :: Using NLP to get better answer options for language learning</p><p>Hosted by thompsgj on 2024-01-08 is flagged as Clean and is released under a CC-BY-SA license.</p><p>Tags: <a href="https://botsin.space/tags/levenshtein" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>levenshtein</span></a>, <a href="https://botsin.space/tags/nlp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>nlp</span></a>, <a href="https://botsin.space/tags/languageLearning" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>languageLearning</span></a>, <a href="https://botsin.space/tags/education" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>education</span></a>.</p><p><a href="https://hackerpublicradio.org/eps/hpr4026/index.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackerpublicradio.org/eps/hpr4</span><span class="invisible">026/index.html</span></a></p>
Roberto B.<p>PHP function: levenshtein()</p><p>Calculating the distance between two strings</p><p><a href="https://drops-of-php.hi-folks.dev/05-string/16-str-levensthein/" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">drops-of-php.hi-folks.dev/05-s</span><span class="invisible">tring/16-str-levensthein/</span></a></p><p><a href="https://phpc.social/tags/php" class="mention hashtag" rel="tag">#<span>php</span></a> <a href="https://phpc.social/tags/levenshtein" class="mention hashtag" rel="tag">#<span>levenshtein</span></a> <a href="https://phpc.social/tags/strings" class="mention hashtag" rel="tag">#<span>strings</span></a></p>
eklem<p>Third is Sindre Sorhus' small and fast Levenshtein distance calculator in JavaScript. I use it for a matcher, figuring out if a word is within a certain distance of a query, making fuzzy search possible. He also has created and still maintain a lot of other libraries I depend on.</p><p><a href="https://github.com/sindresorhus" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="">github.com/sindresorhus</span><span class="invisible"></span></a></p><p><a href="https://social.vivaldi.net/tags/dev" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dev</span></a> <a href="https://social.vivaldi.net/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a> <a href="https://social.vivaldi.net/tags/funding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>funding</span></a> <a href="https://social.vivaldi.net/tags/oss" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>oss</span></a> <a href="https://social.vivaldi.net/tags/search" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>search</span></a> <a href="https://social.vivaldi.net/tags/SearchEngine" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SearchEngine</span></a> <a href="https://social.vivaldi.net/tags/Levenshtein" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Levenshtein</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>