{'fraction_non_alphanumeric': 0.021235521235521235, 'fraction_numerical': 0.0, 'mean_word_length': 5.647435897435898, '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}}
Research on Precise Constraint Reconstruction of Section Data

Since the features are not prominent and the algorithm is complex during whole reconstruction of section data, a step-by-step optimization reconstruction method is proposed. The order of reconstruction is optimized: line features are reconstructed firstly; Then arc features are reconstructed (constraints are satisfied between the arc and known lines); finally freeform features are reconstructed (constraints are satisfied between the B-spline and known lines/arcs). In this way, the reconstruction accuracy of the line/arc features is ensured in the first. Since freeform features have more freedom, it is convenient to be adjusted to meet the more constraints. Linear boundary constraints are constructed and the algorithm becomes optimization problem of the quadratic objective function under the linear constraints. The examples show that the reconstruction accuracy is improved greatly under satisfying constraints; the expected goal is achieved in real application.