{'fraction_non_alphanumeric': 0.009615384615384616, 'fraction_numerical': 0.0, 'mean_word_length': 5.006410256410256, '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}}
Adaptive Zoning Features for Character and Word Recognition

Zoning features are of the most popular and efficient statistical features that provide high speed and low complexity for character and word recognition. They are calculated by the density of pixels or pattern characteristics in several zones we divide the pattern frame. In this paper, we introduce the idea of adaptive zoning features that are extracted after adjusting the position of every zone based on local pattern information. This adjustment is performed by moving every zone towards the pattern body. This process is based on the maximization of the local pixel density around each zone. We have extensively tested our approach for character and word recognition as well as for using the pixel density or pattern characteristics in every zone. For all cases, we have recorded a significant improvement when the zoning features are used in the proposed adaptive way.