Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-04-2024, 01:54 PM
Vinegar Vinegar is offline Auto index all words? Windows 10 Auto index all words? Office 2016
Novice
Auto index all words?
 
Join Date: Jul 2019
Posts: 7
Vinegar is on a distinguished road
Default Auto index all words?

Hi all, firstly my apologies, I'm sure google would have the answers for me but I have no idea on the correct terminology to use.

I have used OCR to digitize and then manually reformatted an old legal document. I've figured out how to use headings to create a table of contents, which is working as expected. Now I want to auto-create a comprehensive alphabetical word list at the end of the document, with page numbers of where each word appears. I always thought this was an 'index', but google (and/or Word) seems to disagree somewhat.

Whatever it is actually called, I'm guessing that Word probably has a feature to generate one with little effort, and would probably be smart enough to ignore common prepositions and conjunctions etc (although I could manually delete those from the full list if required). It's also likely that the relevant page numbers will change as the document continues to be improved, so an automated, 'updateable' solution is essential.

A simple list of the page numbers where each word appears would be a good start, but it would be fantastic if I could get a result that shows the heading under which each instance appears, as well as the page number(s), so that readers can easily pick out the appearances of the word most relevant to their enquiry. An example might look like this:



Licence
2. Constitution of the Trust Fund...7
10. Powers, Duties and Obligations of the Trustee...15
10. Powers, Duties and Obligations of the Trustee...18

Vesting


1. Definitions...5
11. The Income of the Fund...20
11. The Income of the Fund...21
12. The Period of the Trust and Termination Thereof...21
14. Variation of Trust...23



Any ideas how can I achieve such a thing?
Reply With Quote
  #2  
Old 04-04-2024, 02:08 PM
Charles Kenyon Charles Kenyon is offline Auto index all words? Windows 11 Auto index all words? Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,144
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Every word, every place, will result in an index that is pretty much useless.

The Index tool is what you want to use and you can use it with a concordance that has your entire document.

Indices - Complex Documents

The part about headings requires a bit more work.

See, though from the above:
Quote:

AutoMark and a Concordance File
It is possible to create a separate Word document listing the terms you want indexed and have Word use this file in your document to mark your index entries. You may have noted the AutoMark button on the Insert Entry dialog. Experienced indexers recommend that this method not be used.
"But the end result is that you have every term indexed at EVERY place it occurs. Most of the mentions of a term in a book are simply passing references: what the reader wants to see in the index is only one page number; the one that contains the main topic for the term. If you send them on a wild goose chase to 20 other places first, they will think most unkindly of you." John McGhie How Do I Create an Index in Word?
If you want to create a concordance or AutoMark file, you start with a new document. Add a two-column table. In the first column you put the terms that you want Word to index (remembering that the Index feature is case sensitive). In the second column you put the Index heading that you want to appear in the Index. See this page for more. I strongly recommend reading John McGhie's article, first, though.

Here is a very succinct and accurate video by Chris Menard:
Build an Index in Word Using a Concordance File
Reply With Quote
  #3  
Old 04-05-2024, 12:49 AM
Vinegar Vinegar is offline Auto index all words? Windows 10 Auto index all words? Office 2016
Novice
Auto index all words?
 
Join Date: Jul 2019
Posts: 7
Vinegar is on a distinguished road
Default

Thanks Charles, I will investigate those avenues.


Just to be clear though, this is a case in which being able to locate every instance of a word is important to the investigating reader. The use of section headings would be a big help in locating particular instances, of course, but often it is the way a term is used elsewhere in the document that can really throw sand in the gears!
Reply With Quote
  #4  
Old 04-05-2024, 09:33 AM
Charles Kenyon Charles Kenyon is offline Auto index all words? Windows 11 Auto index all words? Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,144
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

So, you want page numbers for each "the," "a," "and." etc?
Look into the concordance, but do take a look at John McGhie's comments.


I am familiar with transcripts indexed this way and it can be useful, yes.


The Concordance feature should help.
Reply With Quote
  #5  
Old 04-05-2024, 02:48 PM
macropod's Avatar
macropod macropod is offline Auto index all words? Windows 10 Auto index all words? Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See: https://www.msofficeforums.com/word-...sage-same.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 04-06-2024, 01:36 PM
Vinegar Vinegar is offline Auto index all words? Windows 10 Auto index all words? Office 2016
Novice
Auto index all words?
 
Join Date: Jul 2019
Posts: 7
Vinegar is on a distinguished road
Default

Thanks again.

No, I don't want "and" and "the" etc, but I can remove those manually from the list if Word isn't equipped to do it automatically.

I do want pretty much all other words though - even seemingly innocuous and pointless ones like "prior" and "was" and "theretofor" actually only appear in a small number of places each, and could easily be the core of some argument or at least a guiding star for locating a particular phrase of contention. The more comprehensive the index the more useful it will be, there is little advantage in removing anything other than to save paper and toner in the printed copies.

I have succeeded with the concordance document, thank you, and now have a large, standard index with a list of page numbers for each word.

My planned next step, when I have another couple of hours to devote to it, is to copy the index back out of Word and back into Excel, and edit the table to create a separate line for each word/page pair. Then it should be simple to sort by page number, add a third column with the section heading that each page number belongs to, then sort alphabetically again. That should give me a result something like my example in post #1:

Licence … 2. Constitution of the Trust Fund … 7
Licence … 10. Powers, Duties and Obligations of the Trustee … 15
Licence … 10. Powers, Duties and Obligations of the Trustee … 18
Vesting … 1. Definitions … 5
Vesting … 11. The Income of the Fund … 20
Vesting … 11. The Income of the Fund … 21
Vesting … 12. The Period of the Trust and Termination Thereof … 21
Vesting … 14. Variation of Trust … 23

Unfortunately this will no longer be a "live" index so I'll have to repeat the process any time I make further changes affecting the layout, but it seems like what I am doing here is outside of Word's design so perhaps that's just the price I need to pay. It shouldn't be too onerous, I hope.

Thanks again for the links and input, and if anyone can think of a better way to get there (especially if it preserves the ability to update automatically) I'd love to hear it!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto index all words? How to create an index by adding words in batch (rather than one at a time) Swarup Word 7 10-12-2018 01:55 PM
How to index words in endnotes ClaireB Word 1 11-11-2013 06:05 PM
Index: only complete words Nongkhai Word 9 02-04-2013 06:39 PM
Auto index all words? Index with unwanted words and a picture Verdande Word 3 05-15-2012 03:35 PM
Index words in the text showing code alpruett Word 0 06-29-2010 09:51 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft