Controlled Vocabluary Keyword Tagging Tool
This tool demonstrates how a simple python script can be used to extract keywords from text using a controlled vocabulary of primary keywords and associated keywords/synonyms.
How to use this tool:
- ๐ Enter your text in the left panel
- ๐ Define your keyword dictionary in the right panel - enter primary keywords and their synonyms
- ๐ Click "Find Keywords" to see results
- ๐ Copy the results to paste into your spreadsheet
Keyword Dictionary - Enter primary keywords and their synonyms:
Examples
Click an example to try it out
| Text to Analyse | Primary Keyword 1 | Synonyms 1 | Primary Keyword 2 | Synonyms 2 | Primary Keyword 3 | Synonyms 3 | Primary Keyword 4 | Synonyms 4 | Primary Keyword 5 | Synonyms 5 |
|---|
Format Guide
How to enter keywords:
- Primary Keyword: Enter the main/preferred term for a concept
- Synonyms: Enter alternative terms separated by semicolons
; - Leave rows blank if you don't need all 5 keyword groups
- The tool will find ANY of these terms and return ALL related terms
Example:
- Primary:
Prisoner of War - Synonyms:
POW; POWs; prisoner of war
Special Handling:
- "US" is matched exactly to avoid confusion with the word "us"
- Word boundaries are respected (prevents partial matches)
- Results are alphabetised and deduplicated
How it works: When ANY variant is found in your text (primary OR synonym), the tool returns the complete standardized set of terms for that concept.
The code for this tool was built with the aid of Claude Sonnet 4.