Analyzing the core of Categorial Grammar