Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8800825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:41:30+00:00 2026-06-14T00:41:30+00:00

I posted yesturday about computing the similarity in percentage the difference between 2 files

  • 0

I posted yesturday about computing the similarity in percentage the difference between 2 files using the amount of words that appear in 1 but not the other.. this was a bad way of doing the job so i thought a better way would be to make a MD5 or CRC checksum of both files and compute the difference using that .. making the checksum is the easy part but I’m unsure of how to go about determining the difference, I know getting the percentage goes something along these lines:

    double sameWordPercentage = (1.0 * n / m) * 100;
    Console.WriteLine(Math.Round(sameWordPercentage, 2)  + "% Similar");

thanks for any help.. just dont have a clear image of how i’m going to do this, maybe some pseudo code would help also.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:41:31+00:00Added an answer on June 14, 2026 at 12:41 am

    Both MD5 and CRC are hashing algorithms that output very different results for similar inputs (and that’s by design).

    I think you’d better check some Locality-sensitive hashing algorithm like MinHash, as they recommend in this question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've posted a question yesterday but I just realized that the answer doesn't seem
Yesterday I posted this question about protecting files: Protecting the app sandbox As mentioned,
I posted this yesterday. People suggested that I should have Point.h and Point.cpp files
I posted this question yesterday but received some valuable feedback that my post left
Following on from a question I posted yesterday about GUIs, I have another problem
(hello dr.Nick) :) So I posted a question yesterday about a content loader plugin
I posted a question about keys yesterday, and got very helpful responses. I've been
Yesterday I posted a question here ( FxCop and Code Analysis Rules ) about
Yesterday I've posted question about SQLite performance issues ( Terrible performance in Zend Db
yesterday, I posted a question about Hom to change a DIV id with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.