Applying keywords to writing and images