Cleanup script by removing repeated or unneeded closed-class words