{'fraction_non_alphanumeric': 0.013377926421404682, 'fraction_numerical': 0.0, 'mean_word_length': 5.1931034482758625, '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}}
Understanding shape context by analysis of Farey ranks

A novel method for shape context realization has been presented in this paper and specific application of it in hand-drawn character recognition has been shown. In preprocessing stage, the endpoints of the digital straight line segments defining the object boundary are extracted. The four vertices of the minimum area rectangle bounding these extracted points are used as the reference points for shape context analysis. Slopes of the extracted endpoints with respect to the reference points are represented as the ranks of corresponding fractions in Farey sequence. From the distribution of the Farey fraction ranks, we obtain a histogram giving the shape context of the object. Finally, we have presented a modified Chi-square histogram match finding method. Experimental results are quite encouraging in terms of accuracy and robustness.