{'fraction_non_alphanumeric': 0.026490066225165563, 'fraction_numerical': 0.0, 'mean_word_length': 5.305555555555555, '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}}
A Surprise-based Qualitative Calculus

This paper introduces a qualitative ranking function that uses signed integers to describe the surprise associated with the occurrence of events. The measure introduced, kappa++, is based on the kappa calculus but differs from it in that its semantics enable an explicit representation of complements. As a result, the kappa++ is more capable of enforcing probability theory-like constraints to carry on reasoning.