Recognizing textual entailment by detecting lexical and semantic alignment