Extract relevant keywords from a document.