Identifying types of words