Identifying the infinitive in a sentence and its usage