Learning shallow semantic rules for textual entailment