Identifying the type of figurative language