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 条
  • [21] Hand-Drawn Emoji Recognition using Convolutional Neural Network
    Akter, Mehenika
    Hossain, Mohammad Shahadat
    Andersson, Karl
    PROCEEDINGS OF 2020 6TH IEEE INTERNATIONAL WOMEN IN ENGINEERING (WIE) CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING (WIECON-ECE 2020), 2020, : 159 - 164
  • [22] Deep CNN-based Features for Hand-Drawn Sketch Recognition via Transfer Learning Approach
    Hayat, Shaukat
    She, Kun
    Yu, Yao
    Mateen, Muhammad
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2019, 10 (09) : 438 - 448
  • [23] A Comparative Study of Region Matching Based on Shape Descriptors for Coloring Hand-drawn Animation
    Kanamori, Yoshihiro
    PROCEEDINGS OF 2013 28TH INTERNATIONAL CONFERENCE ON IMAGE AND VISION COMPUTING NEW ZEALAND (IVCNZ 2013), 2013, : 483 - 488
  • [24] Accentuating Features of Description Logics in High-Level Interpretations of Hand-Drawn Sketches
    Nashwa M. Abdelghaffar
    Ahmed M. H. Abdelfattah
    Azza A. Taha
    Soheir M. Khamis
    KI - Künstliche Intelligenz, 2019, 33 : 253 - 265
  • [25] Accentuating Features of Description Logics in High-Level Interpretations of Hand-Drawn Sketches
    Abdelghaffar, Nashwa M.
    Abdelfattah, Ahmed M. H.
    Taha, Azza A.
    Khamis, Soheir M.
    KUNSTLICHE INTELLIGENZ, 2019, 33 (03): : 253 - 265
  • [26] Software support for annotation of visualized data using hand-drawn marks
    Denisovich, I
    NINTH INTERNATIONAL CONFERENCE ON INFORMATION VISUALISATION, PROCEEDINGS, 2005, : 807 - 813
  • [27] Machine learning-based binarization technique of hand-drawn floor plans
    Suh, Hanew
    Kim, Hyunjung
    Yu, Kiyun
    INTERNATIONAL JOURNAL ON DOCUMENT ANALYSIS AND RECOGNITION, 2025,
  • [28] Using Entropy to Distinguish Shape Versus Text in Hand-Drawn Diagrams
    Bhat, Akshay
    Hammond, Tracy
    21ST INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE (IJCAI-09), PROCEEDINGS, 2009, : 1395 - 1400
  • [29] ChemReco: automated recognition of hand-drawn carbon-hydrogen-oxygen structures using deep learning
    Ouyang, Hengjie
    Liu, Wei
    Tao, Jiajun
    Luo, Yanghong
    Zhang, Wanjia
    Zhou, Jiayu
    Geng, Shuqi
    Zhang, Chengpeng
    SCIENTIFIC REPORTS, 2024, 14 (01):
  • [30] Deep learning-based prototyping of android GUI from hand-drawn mockups
    Abdelhamid, Abdelaziz A.
    Alotaibi, Sultan R.
    Mousa, Abdelaziz
    IET SOFTWARE, 2020, 14 (07) : 816 - 824