{'fraction_non_alphanumeric': 0.015330188679245283, 'fraction_numerical': 0.0, 'mean_word_length': 5.242647058823529, '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}}
Automatic Control Code Generation from SAMA Specification

Industrial process automation engineering implements a control code of a process plant manually. This paper proposes an approach that reads a control specification as a multi-page graphical document and implements control code as a Control logic diagram (CLD) for a target controller. We use a novel vector image processing-based approach to extract entities, equipment blocks, and the control flow from this document. We represent the control flow information as language-agnostic intermediate equipment and control flow graph. The translator traverses the graph and applies a set of mapping rules to generate the control logic. A preliminary analysis reveals that our approach has the potential of saving a significant amount of manual effort to generate a CLD from such a specification.