Find Jobs
Hire Freelancers

Compare Two Emails and Hash

$100-150 USD

Completed
Posted over 19 years ago

$100-150 USD

Paid on delivery
I need an algorithm that will compare two emails (already parsed into in memory data structures) to see if they are essentially equivalent. It must ignore headers that would obviously be different, like who it is To: and also be able to deal with word salad within the body. So, for example: To:john at somewhere dot com Buy lots of viagara. Fish leaves dung forage issue stamp view front wish. And To:george at somewhereelse dot com Buy lots of viagara. Dump knife tweezers frontal Jeff spank lizard. Should come out as a match (at at least some confidence level) since the basic message is the same in both cases, "Buy lots of viagara". Note that the word salad might be in the middle of things or even at the beginning. Essentially what is desired is a distance of phrase matches… I think. The idea is if they both contain enough phrases in common, then they are the same. The definition of "Enough" should of course be tweakable. Of course some headers might be potentially useful to compare, such as portions of the Subject: line. The other result that I need from this project is that if two emails are found to be equivalent, then a hash function must be created that would allow for a third email to be compared to the first two that matched without the text of the original email. For example, in the above case, the hash function would include the range of characters in the email containing the words "Buy lots of viagara." Along with something indicating that the common feature is in the body of the email, And a hash based upon hashing those words, but not the words themselves. It should hash into a VERY large hash space so that false positive matches would be on the order of only 1 in 100,000,000 or so. If you have other good ideas for comparing emails or creating such a hash function, I’m open to any suggestions. Note from RAC: For the protection of all parties concerned, RAC does not allow the posting of the solution to a project before funds are escrowed. Any persons found doing so despite this warning may be permanently banned from the site. ******************************* ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables): a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform C# code in Windows .NET environment. All managed code.
Project ID: 3309882

About the project

2 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$127.50 USD in 21 days
4.8 (8 reviews)
4.6
4.6
2 freelancers are bidding on average $115 USD for this job
User Avatar
See private message.
$102 USD in 21 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Springville, United States
5.0
72
Payment method verified
Member since Dec 19, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.