Text this: Word frequency–rank relationship in tagged texts