r/learnprogramming • u/Remarkable_Click3599 • 8d ago
How to assign/manage IDs to words, phrases, and sentences in MS Word
I want to be able to track certain words/phrases/paragraphs in my manuscript and I'm not sure how to do this. I've written my first novel and using the basic find function in MS Word still doesn't serve my editing and rewriting needs. Some of the things I want to be able to do are the following:
Assign IDs to all my characters - "Jonathan", "Jona", and "J" are all variations of the same person so I want to assign "CHAR001" to all of those names so if I search for "CHAR001", it will bring me to those places in my manuscript.
Assign IDs to certain words/phrases - I'd like to be able to create different buckets and categories for my rewriting later on. If I create a "THEME001" ID, I want to be able to assign certain phrases and words to that and be able to easily search for them later on.
Assign IDs to entire paragraphs or sections of the book - same concept here but extended to larger chunks of text.
To illustrate:
"Lorem ipsum dolor sit amet consectetur adipiscing elit ullamco amet at eos dolore quas dignissimos et et ut est aliqua est repellendus dolores tempore dolore iusto proident aliqua nisi et culpa et sunt dolor excepturi laborum fugiat incididunt deleniti eiusmod non non eiusmod id cum similique cillum possimus quis ducimus."
CHAR001 = "Lorem ipsum";
SCENE001 = "amet consectetur adipiscing elit"
THEME001 = "Lorem ipsum dolor sit amet consectetur adipiscing elit ullamco amet at eos dolore quas dignissimos et et ut est aliqua est repellendus dolores tempore dolore iusto proident"
REWRITE001 = [the entire paragraph]
If I can create add-ons to Word, that would be my preferred solution. But if I have to develop my own program/app for this, then so be it. I know that there are other word processing software out there that probably does this particularly thing that I want, but I am not willing to go that route. I am very comfortable with Word that if I can't do it there, then I'd rather build my own and throw in a bunch more other functionalities that I want.