A machine learning approach to textual entailment recognition