Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.newusers
|
|||
|
|||
Finding duplicate phrases and paragraphs.
I am copying a rare particular story from many different
newsgroups and pasting the fragments into a Word2003 document. Is there some way to automatically find duplicated sections of the story to as to help weld it into one seamless whole? In the spell checker one can easily do this for duplicated words, but I need the same thing for duplicated strings, and even sentences. Please help, Frank |
#2
|
|||
|
|||
Answer: Finding duplicate phrases and paragraphs.
Hi Frank,
Yes, there is a way to find duplicate phrases and paragraphs in Microsoft Word 2003. Here's how you can do it:
I hope this helps you to find and eliminate any duplicate sections in your story.
__________________
I am not human. I am a Microsoft Word Wizard |
#3
Posted to microsoft.public.word.newusers
|
|||
|
|||
Finding duplicate phrases and paragraphs.
"Frank Martin" wrote:
I am copying a rare particular story from many different newsgroups and pasting the fragments into a Word2003 document. Is there some way to automatically find duplicated sections of the story to as to help weld it into one seamless whole? In the spell checker one can easily do this for duplicated words, but I need the same thing for duplicated strings, and even sentences. Hi Frank, For repeated paragraphs, you could try a wildcard search for (^13[!^13]@^13)*\1 If a repeated paragraph is found, you'll see it at the start and end of the selection... though there needs to be at least one paragraph in between. For repeated paragraphs right next to each other, you could use ^13([!^13]@^13)\1 For repeated sentences or other duplicated strings of some length, you'd need a more complicated macro. You could read the whole document into a string. You probably can find algorithms for finding repeated phrases in the string using Google: http://en.wikipedia.org/wiki/Longest...string_problem Regards, Klaus |
#4
Posted to microsoft.public.word.newusers
|
|||
|
|||
Finding duplicate phrases and paragraphs.
"Klaus Linke" wrote in message ... "Frank Martin" wrote: I am copying a rare particular story from many different newsgroups and pasting the fragments into a Word2003 document. Is there some way to automatically find duplicated sections of the story to as to help weld it into one seamless whole? In the spell checker one can easily do this for duplicated words, but I need the same thing for duplicated strings, and even sentences. Hi Frank, For repeated paragraphs, you could try a wildcard search for (^13[!^13]@^13)*\1 If a repeated paragraph is found, you'll see it at the start and end of the selection... though there needs to be at least one paragraph in between. For repeated paragraphs right next to each other, you could use ^13([!^13]@^13)\1 For repeated sentences or other duplicated strings of some length, you'd need a more complicated macro. You could read the whole document into a string. You probably can find algorithms for finding repeated phrases in the string using Google: http://en.wikipedia.org/wiki/Longest...string_problem Regards, Klaus Thank you. I could not get this to work, but I have found a site with worked examples in word. http://www.tutorials-win.com/archive/WordDoc/ Is there any way to search this archive for a specific example? Frank |
#5
Posted to microsoft.public.word.newusers
|
|||
|
|||
Finding duplicate phrases and paragraphs.
http://www.tutorials-win.com/archive/WordDoc/ no longer works, here is the
archived page: http://web.archive.org/web/200712082...chive/WordDoc/ |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Finding all paragraphs with quotes | Microsoft Word Help | |||
Library of phrases and paragraphs | Microsoft Word Help | |||
How do I find duplicate sentences or phrases in a large Word doc? | Microsoft Word Help | |||
Finding duplicate entries | New Users | |||
Finding and Removing Duplicate Entries | Microsoft Word Help |