Re: Tool for comparing sentences in two documents?

Subject: Re: Tool for comparing sentences in two documents?
From: dmbrown -at- brown-inc -dot- com
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Fri, 08 Nov 2002 08:05:18 -0800


Gelius Henrik wrote:
>
> ...I need to check that no sentences in the copyrighted PDF
> file is used in our Word files.

I'd be amazed if *any* of the comparison tools mentioned could do this.

> ...Maybe it's time to write a PERL script...

Or use Word's macro language. Whatever language you use, you'll need to do something like this:

1. go to the start of the first doc
2. while there are sentences in the first doc
a. select the next sentence
b. search the second doc for that sentence
c. if it's found, write it out to a third doc

Shouldn't be hard, once you get both documents into a format that the chosen language can work with.

--David

========================================================================

N O W A V A I L A B L E ! http://www.html-indexer.com/

HTML Indexer 4 is still the easiest way to create and maintain indexes
for web sites, intranets, HTML Help, JavaHelp, and other HTML documents.

Now with fully integrated cross-references, target frames and windows,
multiple-file output, "one-step accept" of default entries, and more!

 


^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Order RoboHelp X3 in November and receive $100 mail in rebate, FREE WebHelp
Merge Module and the new RoboPDF - add powerful PDF output functionality
to RoboHelp X3. Order online today at http://www.ehelp.com/techwr-l

Check out SnagIt - The Screen Capture Standard!
Download a free 30-day trial from http://www.techsmith.com/rdr/txt/twr
Find out what all the other tech writers, including Dan, already know!

---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit
http://www.raycomm.com/techwhirl/ for more resources and info.


Follow-Ups:

References:
RE: Tool for comparing sentences in two documents?: From: Gelius Henrik

Previous by Author: Re: Another WORD Vairable Question (more difficult)
Next by Author: Re: Tool for comparing sentences in two documents?
Previous by Thread: RE: Tool for comparing sentences in two documents?
Next by Thread: RE: Tool for comparing sentences in two documents?


What this post helpful? Share it with friends and colleagues:


Sponsored Ads