Word frequency and topic models