second (and mostly successful) attempt at a coding query to sort sentences into basic clause types