Design and Realization of a Modular Architecture for Textual Entailment