Use Remove Duplicate Words without a complicated workflow.
Paste text and remove repeated words so keyword lists, drafts, and copied notes become cleaner. This registration is prepared for a browser-side JavaScript UI, so no Python/API conversion is required when the UI is implemented.