{'fraction_non_alphanumeric': 0.02476038338658147, 'fraction_numerical': 0.009584664536741214, 'mean_word_length': 5.392857142857143, '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}}
Interfered-character recognition by removing interfering-lines and adjusting feature weights

Characters sometimes overlap with nontextual lines in form documents and these interfered-character would generally be recognized with poor accuracy. In this paper we propose a two-step interfering-line removing method. Positions and orientations of interfering-lines are first detected by the Hough transform. Interfering-lines widths are then determined from projection histograms. An ambiguous area is defined to bound an interfering-line. Black runs in the ambiguous are classified into four types and grouped into run-groups. The directions of hidden character strokes in each run-groups are predicted. Black pixels located in these hidden strokes are regarded as character pixels and the other black pixels are considered as interfering pixels, which will be removed then. Most OCR engines are trained by noninterfered sample characters. In order to recognize interfered-characters, we adjust the feature values by assigning a stability value to each of subregions. In our collected 1820 interfered handwritten Chinese characters, the recognition accuracy was 24.02% for interfered-characters and 89.91% for characters after removing interfering-lines.