{'fraction_non_alphanumeric': 0.02028639618138425, 'fraction_numerical': 0.0, 'mean_word_length': 4.668918918918919, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Functoriality and Grammatical Role in Syllogisms

We specify two problems in syllogistic: the lack of functoriality of predicates (although a thief is a person, a good thief may not be a good person) and the change of grammatical role of the middle term, from subject to predicate, in some syllogisms. The standard semantics, the class interpretation, by-passes these difficulties but, we argue, in a manner that is at odds with logical intuition. We propose a semantics that is category theoretic to handle these difficulties. With this semantics we specify when syllogisms are valid and we set limits to the class interpretation. To perform this task we show how to construct the categorical notion of an entity in a system of kinds. We devote two brief sections to an argument that our approach is very much in the spirit of Aristotle.