Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Comparing inputs before inserting into MySQL for "sounds-like" similarity

by pc88mxer (Vicar)
on Apr 27, 2008 at 17:44 UTC ( [id://683162]=note: print w/replies, xml ) Need Help??


in reply to Comparing inputs before inserting into MySQL for "sounds-like" similarity

Here are some suggestions...

Decouple the article import from detecting duplicates - the latter process could be quite involved, and it will allow you to play with the detection algorithm without interrupting your import process.

Have a look at this article: Building a Vector Space Search Engine in Perl.

What you need to do could be seen as an instance of the document classification problem. A search engine would help find documents would could be duplicates of a target document, and then you could use something like Text::Similarity to perform a more robust comparison (or flag them for manual review.)

  • Comment on Re: Comparing inputs before inserting into MySQL for "sounds-like" similarity
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://683162]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-26 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found