{'fraction_non_alphanumeric': 0.01301775147928994, 'fraction_numerical': 0.0, 'mean_word_length': 5.507692307692308, '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}}
Modeling symmetries for stochastic structural recognition

We propose a method for stochastic parsing of images with regular structures exhibiting symmetries, such as facades of buildings. The translational symmetry is represented by an array of elements (windows) that is generated with a stochastic grammar which allows structural exceptions and spatial deviations for individual elements. The reflection symmetry of the elements is automatically inferred as a part of the learning process, where a set of random weak features is boosted into a final mixture. A hierarchical probability model is built for the attributed ‘words’ generated by the proposed grammar. The image parsing result is then found as the most probable interpretation visited with MCMC sampler which is designed to efficiently explore the space of possible configurations.