Changes word sizes in a document based on the number of times they occur.