{'fraction_non_alphanumeric': 0.02486678507992895, 'fraction_numerical': 0.0, 'mean_word_length': 5.558139534883721, '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}}
Multi-level contour segmentation using multiple segmentation primitives

A multi-level technique of segmenting digital contours using multiple segmentation primitives is presented. At each level, the prospective instances of the primitives are detected. Then, the detected instances are ranked according to how accurately they approximate the corresponding fragment of the contour. Finally, the top-rank instances are selected for the segmentation output. The remaining parts of the contour are segmented at the next level (using primitives of smaller size), etc.