{'fraction_non_alphanumeric': 0.011639185257032008, 'fraction_numerical': 0.0, 'mean_word_length': 5.2926829268292686, '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 Rete-based integration of forward and backward chaining inferences

Studies a new method for integrating forward and backward chaining controls based on a Rete network. The authors introduce the concept of the hypothesis objects, and augment the production rule format by adding the hypothesis condition elements in the LHS part of a rule, which control the forward and backward chaining invocation of rules. To be applied to the backward chaining, a modified version of the Rete network has been formulated by adding the hypothesis-and-nodes and backward direction edges to the node network generated by the Rete algorithm. The authors then develop a backward chaining algorithm which takes advantage of already existing partial match results obtained by the previous forward chaining. The forward and backward chaining can be naturally integrated via the generation of hypotheses from forward chaining inference. The whole mixed inference process has the potential advantages over purely forward and backward chaining strategy.