Saved in:
Bibliographic Details
Main Authors: Toksoz, Levent, Tan, Gang, Giles, C. Lee
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.04635
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929377160200192
author Toksoz, Levent
Tan, Gang
Giles, C. Lee
author_facet Toksoz, Levent
Tan, Gang
Giles, C. Lee
contents Pseudocode in a scholarly paper provides a concise way to express the algorithms implemented therein. Pseudocode can also be thought of as an intermediary representation that helps bridge the gap between programming languages and natural languages. Having access to a large collection of pseudocode can provide various benefits ranging from enhancing algorithmic understanding, facilitating further algorithmic design, to empowering NLP or computer vision based models for tasks such as automated code generation and optical character recognition (OCR). We have created a large pseudocode collection by extracting nearly 320,000 pseudocode examples from arXiv papers. This process involved scanning over $2.2$ million scholarly papers, with 1,000 of them being manually inspected and labeled. Our approach encompasses an extraction mechanism tailored to optimize the coverage and a validation mechanism based on random sampling to check its accuracy and reliability, given the inherent heterogeneity of the collection. In addition, we offer insights into common pseudocode structures, supported by clustering and statistical analyses. Notably, these analyses indicate an exponential-like growth in the usage of pseudocodes, highlighting their increasing significance.
format Preprint
id arxiv_https___arxiv_org_abs_2406_04635
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Scaling Automatic Extraction of Pseudocode
Toksoz, Levent
Tan, Gang
Giles, C. Lee
Information Retrieval
Artificial Intelligence
Pseudocode in a scholarly paper provides a concise way to express the algorithms implemented therein. Pseudocode can also be thought of as an intermediary representation that helps bridge the gap between programming languages and natural languages. Having access to a large collection of pseudocode can provide various benefits ranging from enhancing algorithmic understanding, facilitating further algorithmic design, to empowering NLP or computer vision based models for tasks such as automated code generation and optical character recognition (OCR). We have created a large pseudocode collection by extracting nearly 320,000 pseudocode examples from arXiv papers. This process involved scanning over $2.2$ million scholarly papers, with 1,000 of them being manually inspected and labeled. Our approach encompasses an extraction mechanism tailored to optimize the coverage and a validation mechanism based on random sampling to check its accuracy and reliability, given the inherent heterogeneity of the collection. In addition, we offer insights into common pseudocode structures, supported by clustering and statistical analyses. Notably, these analyses indicate an exponential-like growth in the usage of pseudocodes, highlighting their increasing significance.
title Scaling Automatic Extraction of Pseudocode
topic Information Retrieval
Artificial Intelligence
url https://arxiv.org/abs/2406.04635