1 |
Retrieval-Based Transformer Pseudocode Generation
|
|
|
|
In: Mathematics; Volume 10; Issue 4; Pages: 604 (2022)
|
|
Abstract:
The comprehension of source code is very difficult, especially if the programmer is not familiar with the programming language. Pseudocode explains and describes code contents that are based on the semantic analysis and understanding of the source code. In this paper, a novel retrieval-based transformer pseudocode generation model is proposed. The proposed model adopts different retrieval similarity methods and neural machine translation to generate pseudocode. The proposed model handles words of low frequency and words that do not exist in the training dataset. It consists of three steps. First, we retrieve the sentences that are similar to the input sentence using different similarity methods. Second, pass the source code retrieved (input retrieved) to the deep learning model based on the transformer to generate the pseudocode retrieved. Third, the replacement process is performed to obtain the target pseudo code. The proposed model is evaluated using Django and SPoC datasets. The experiments show promising performance results compared to other language models of machine translation. It reaches 61.96 and 50.28 in terms of BLEU performance measures for Django and SPoC, respectively.
|
|
Keyword:
deep learning-based transformer; natural language processing; neural machine translation; pseudocode generation; retrieval-based
|
|
URL: https://doi.org/10.3390/math10040604
|
|
BASE
|
|
Hide details
|
|
2 |
Representation learning of natural language and its application to language understanding and generation
|
|
|
|
BASE
|
|
Show details
|
|
3 |
Controlled Generation of Stylized Text Using Semantic and Phonetic Representations
|
|
|
|
BASE
|
|
Show details
|
|
5 |
Desarrollo de un generador automático de ejercicios gramaticales de euskera
|
|
|
|
BASE
|
|
Show details
|
|
6 |
Natural Language Generation : From Data Creation to Evaluation via Modelling ; Génération en langue naturelle : de la création des données à l'évaluation, en passant par la modélisation
|
|
|
|
In: https://hal.univ-lorraine.fr/tel-03254708 ; Computation and Language [cs.CL]. Université de Lorraine, 2021. English. ⟨NNT : 2021LORR0080⟩ (2021)
|
|
BASE
|
|
Show details
|
|
7 |
THEaiTRobot 1.0
|
|
Rosa, Rudolf; Dušek, Ondřej; Kocmi, Tom. - : Charles University, Faculty of Mathematics and Physics, Institute of Formal and Applied Linguistics (UFAL), 2021. : The Švanda Theatre in Smíchov, 2021. : The Academy of Performing Arts in Prague, Theatre Faculty (DAMU), 2021
|
|
BASE
|
|
Show details
|
|
8 |
Zur Darstellung eines mehrstufigen Prototypbegriffs in der multilingualen automatischen Sprachgenerierung: vom Korpus über word embeddings bis hin zum automatischen Wörterbuch
|
|
|
|
In: Lexikos; Vol. 31 (2021); 20-50 ; 2224-0039 (2021)
|
|
BASE
|
|
Show details
|
|
9 |
Recent Advances in Intelligent Source Code Generation: A Survey on Natural Language Based Studies
|
|
|
|
In: Entropy ; Volume 23 ; Issue 9 (2021)
|
|
BASE
|
|
Show details
|
|
10 |
Lyrics and vocal melody generation conditioned on accompaniment ... : Αυτόματη παραγωγή στίχων και φωνητικής μελωδίας βάσει της μουσικής υπόκρουσης με τεχνικές βαθιάς μηχανικής μάθησης ...
|
|
|
|
BASE
|
|
Show details
|
|
11 |
TSDAE: Using Transformer-based Sequential Denoising Auto-Encoder for Unsupervised Sentence Embedding Learning ...
|
|
|
|
BASE
|
|
Show details
|
|
13 |
Automatic Text Evaluation through the Lens of Wasserstein Barycenters ...
|
|
|
|
BASE
|
|
Show details
|
|
14 |
Looking for Confirmations: An Effective and Human-Like Visual Dialogue Strategy ...
|
|
|
|
BASE
|
|
Show details
|
|
15 |
CrossVQA: Scalably Generating Benchmarks for Systematically Testing VQA Generalization ...
|
|
|
|
BASE
|
|
Show details
|
|
16 |
IndoNLG: Benchmark and Resources for Evaluating Indonesian Natural Language Generation ...
|
|
|
|
BASE
|
|
Show details
|
|
17 |
Building the Directed Semantic Graph for Coherent Long Text Generation ...
|
|
|
|
BASE
|
|
Show details
|
|
18 |
Graphine: A Dataset for Graph-aware Terminology Definition Generation ...
|
|
|
|
BASE
|
|
Show details
|
|
19 |
Error-Sensitive Evaluation for Ordinal Target Variables ...
|
|
|
|
BASE
|
|
Show details
|
|
20 |
Data-to-text Generation by Splicing Together Nearest Neighbors ...
|
|
|
|
BASE
|
|
Show details
|
|
|
|