Matching of hand-drawn flowchart, pseudocode, and english description using transfer learning

被引:0
|
作者
Ghosh, Sagarika [1 ,2 ]
Pratihar, Sanjoy [1 ]
Chatterji, Sanjay [1 ]
Basu, Anupam [3 ]
机构
[1] Indian Inst Informat Technol Kalyani, Comp Sci & Engn, Kalyani 741235, West Bengal, India
[2] Univ Engn & Management Jaipur, Comp Sci & Engn, Jaipur 303807, Rajasthan, India
[3] Natl Inst Technol Durgapur, Comp Sci & Engn, Durgapur 713209, West Bengal, India
关键词
Hand-drawn flowchart; Pseudocode; Text description; S-DistilBERT; Ruleset; Embedding; Transfer learning; Similarity matching; OPTIMAL POLYGONAL-APPROXIMATION; DOMINANT POINTS; ALGORITHM;
D O I
10.1007/s11042-023-14346-9
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
An algorithm plays an important role when solving a problem. It is challenging to comprehend for computer novices or machines. Therefore, a textual explanation is provided to illustrate the algorithm. To understand an algorithm, a method needs to be devised to find or generate the corresponding text description and vice versa. This paper matches an algorithm in a variety of forms, such as pseudocode and hand-drawn flowchart, with the illustrative text written in English to facilitate a thorough understanding of the algorithm. The experiment includes a proposed set of rules for generating pseudocode from a hand-drawn flowchart and a proposed S-DistilBERT-based transfer learning method to determine the similarity match score between multiple forms of algorithm and text description. Basic block and line identification, as well as OCR-ization, are used to characterize the hand-drawn flowcharts. The experimental result show that we can generate the equivalent pseudocode in 85% cases, and our fine-tuned S-DistilBERT model can accommodate the matching text for the existing pseudocode with 75.59% and the generated pseudocode with 74.57% accuracy. We also find the appropriate description from an algorithm in the top five matches in 30 out of 50 cases. The rules are found to be adequate for non-recursive flowcharts.
引用
收藏
页码:27027 / 27055
页数:29
相关论文
共 50 条
  • [41] Early Parkinson's Disease Diagnosis through Hand-Drawn Spiral and Wave Analysis Using Deep Learning Techniques
    Huang, Yingcong
    Chaturvedi, Kunal
    Nayan, Al-Akhir
    Hesamian, Mohammad Hesam
    Braytee, Ali
    Prasad, Mukesh
    INFORMATION, 2024, 15 (04)
  • [42] A Learning Model for the Automated Assessment of Hand-Drawn Images for Visuo-Spatial Neglect Rehabilitation
    Liang, Yiqing
    Fairhurst, Michael C.
    Guest, Richard M.
    Potter, Jonathan M.
    IEEE TRANSACTIONS ON NEURAL SYSTEMS AND REHABILITATION ENGINEERING, 2010, 18 (05) : 560 - 570
  • [43] Deep Learning based Hand-Drawn Molecular Structure Recognition and 3D Visualisation using Augmented Reality
    Adhikari, Jayampathi
    Aththanayake, Malith
    Kularathna, Charith
    Wijayasiri, Adeesha
    Munasinghe, Aravinda
    2022 22ND INTERNATIONAL CONFERENCE ON ADVANCES IN ICT FOR EMERGING REGIONS (ICTER), 2022,
  • [44] Restoration of Hand-Drawn Architectural Drawings using Latent Space Mapping with Degradation Generator
    Choi, Nakkwan
    Lee, Seungjae
    Lee, Yongsik
    Yang, Seungjoon
    2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, : 14164 - 14172
  • [45] Exploring Convolutional Neural Networks Architectures for the Classification of Hand-Drawn Shapes in Learning Therapy Applications
    Ruiz Vazquez, Dionisio
    Ramirez Alonso, Graciela
    Gonzalez Gurrola, Luis Carlos
    Cornejo Garcia, Raymundo
    Martinez Reyes, Fernando
    COMPUTACION Y SISTEMAS, 2020, 24 (04): : 1483 - 1497
  • [46] DEEP LEARNING-BASED HAND-DRAWN ILLUSTRATION IN PACKAGING DESIGN OF CULTURAL AND CREATIVE PRODUCTS
    Wang, Jianfei
    INTERNATIONAL JOURNAL OF MARITIME ENGINEERING, 2024, 1 (01):
  • [47] Using Expert Participation to Evaluate the Accuracy of Hand-Drawn Water-Table Maps
    Marshall, Sarah Kathleen
    Peeters, Luk J. M.
    Batelaan, Okke
    Noorduijn, Saskia
    Velterop, Tanah
    GROUNDWATER, 2025, 63 (01) : 52 - 67
  • [48] DiagramNet: Hand-Drawn Diagram Recognition Using Visual Arrow-Relation Detection
    Schaefer, Bernhard
    Stuckenschmidt, Heiner
    DOCUMENT ANALYSIS AND RECOGNITION - ICDAR 2021, PT I, 2021, 12821 : 614 - 630
  • [49] A system to understand hand-drawn floor plans using subgraph isomorphism and Hough transform
    Josep Lladós
    Jaime López-Krahe
    Enric Martí
    Machine Vision and Applications, 1997, 10 : 150 - 158
  • [50] A system to understand hand-drawn floor plans using subgraph isomorphism and Hough transform
    Llados, J
    LopezKrahe, J
    Marti, E
    MACHINE VISION AND APPLICATIONS, 1997, 10 (03) : 150 - 158