working version of coding query for classifying clauses with infinitives