blah blah blah is here! blah blah » Close

up0down
link

I'd like to compare two word documents to see if they are similar.
Any ideas to go about this?
I have read both documents into seperate string variables, but i want an easy way to see if they are similar, but not the same, maybe based on a percentage.
cheers

last answered 2 years ago

1 answers

up0down
link

What exactly do you consider as being similar? Do you have the strings containing just the text of the documents stripped by their formatting information?
I would probably define similarity as being the documents containing an almost identical number of exact words.

up0down
link

Hmm i think i going to have to write my own method. Bugger

This post was imported from csharpfriends, if you have a similiar question please ask it again.

All previous members have been migrated, hope you enjoy the new platform!

Feedback