<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ricerca di stringhe approssimate]]></title><description><![CDATA[<p dir="auto">Ciao<br />
vorrei implementare sul mio sito una funzione di ricerca che cerca anche parole simili a quella data (tipo google per intenderci).<br />
Cercando sul web ho trovato questa classe <a href="http://elonen.iki.fi/code/misc-notes/appr-search-php/index.html" rel="nofollow ugc">http://elonen.iki.fi/code/misc-notes/appr-search-php/index.html</a></p>
<p dir="auto">però non sono riuscito a utilizzarla, usando il codice di esempio mi da il segunte errore</p>
<pre><code class="language-php">Fatal error:  Call to undefined function:  read_next_page() in ..
</code></pre>
<p dir="auto">qualcuno l'ha utilizzata o ha realizzato qualcosa di simile?</p>
<p dir="auto">Grazie</p>
]]></description><link>https://dev.connect.gt/topic/30216/ricerca-di-stringhe-approssimate</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Dec 2026 03:52:39 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/30216.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 13 Mar 2007 13:08:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ricerca di stringhe approssimate on Wed, 14 Mar 2007 11:11:27 GMT]]></title><description><![CDATA[<p dir="auto">finche' non si trova la funzione read_next_page() e' difficile... ho provato a cercare anche io, ma niente...</p>
<p dir="auto">:bho:</p>
]]></description><link>https://dev.connect.gt/post/478022</link><guid isPermaLink="true">https://dev.connect.gt/post/478022</guid><dc:creator><![CDATA[olaola]]></dc:creator><pubDate>Wed, 14 Mar 2007 11:11:27 GMT</pubDate></item><item><title><![CDATA[Reply to ricerca di stringhe approssimate on Wed, 14 Mar 2007 09:58:35 GMT]]></title><description><![CDATA[<p dir="auto">nessuno mi sa aiutare??</p>
]]></description><link>https://dev.connect.gt/post/478030</link><guid isPermaLink="true">https://dev.connect.gt/post/478030</guid><dc:creator><![CDATA[gc]]></dc:creator><pubDate>Wed, 14 Mar 2007 09:58:35 GMT</pubDate></item><item><title><![CDATA[Reply to ricerca di stringhe approssimate on Tue, 13 Mar 2007 14:38:27 GMT]]></title><description><![CDATA[<p dir="auto">Non sono un esperto di programmazione ma fin qui ci arrivo anch'io <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=3abbd2034aa" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
<pre><code class="language-php">&lt;?
include('approximate-search.php');

$search = new Approximate_Search( 'proav', 2 );
if ( $search-&gt;too_short_err )
    $error = "Unable to search - use longer pattern " .
             "or reduce error tolerance.";

while( $text = read_next_page())
{
    $matches = $search-&gt;search( $text );
    while( list($i,) = each($matches))
      print "Match that ends at $i.\n";
}
?&gt;
</code></pre>
<p dir="auto">questo è ciò che ho scritto<br />
ma mi restituisce</p>
<pre><code class="language-php">Fatal error:  Call to undefined function:  read_next_page() in ... on line 9
</code></pre>
<p dir="auto">effettivamente<br />
nella classe non trovo nessun riferimento a read_next_page()</p>
<p dir="auto">Grazie</p>
<p dir="auto">Giuseppe</p>
]]></description><link>https://dev.connect.gt/post/478029</link><guid isPermaLink="true">https://dev.connect.gt/post/478029</guid><dc:creator><![CDATA[gc]]></dc:creator><pubDate>Tue, 13 Mar 2007 14:38:27 GMT</pubDate></item><item><title><![CDATA[Reply to ricerca di stringhe approssimate on Tue, 13 Mar 2007 14:19:10 GMT]]></title><description><![CDATA[<p dir="auto">quello è un esempio di utilizzo della classe...la classe vera e propria la trovi qui: <a href="http://elonen.iki.fi/code/misc-notes/appr-search-php/approximate-search.phps" rel="nofollow ugc">http://elonen.iki.fi/code/misc-notes/appr-search-php/approximate-search.phps</a> e devi includerla prima di inserire il pezzo di codice che esegue la ricerca...</p>
]]></description><link>https://dev.connect.gt/post/478031</link><guid isPermaLink="true">https://dev.connect.gt/post/478031</guid><dc:creator><![CDATA[ienavr]]></dc:creator><pubDate>Tue, 13 Mar 2007 14:19:10 GMT</pubDate></item></channel></rss>