software . 2022

Semantic parser tool from the Decoder project

CHALENDAR, GAEL DE; Bouachera, Yannis; Laleye, Fr��jus; Mesnard, Olivier;
Open Access English
  • Published: 25 Feb 2022
  • Publisher: Zenodo
DECODER SP tool This is the Semantic Parsing (SP) tool for the Decoder project (WP2) It is a Docker composition of Flask service and NN based translation services. To install it, you need to follow these steps: Call to build the Docker container. Start the Docker container with . To test the service, you can use,, and SP API The SP tool, when interacting with the pkm, takes as parameters the information necessary to find comments in the pkm. Its return value is only a pair of a string and a code indicating the success of the operation or explaining its failure. The actual result is that the targeted comments are completed with their equivalent in the target language. The input parameters are used to send the following query to the pkm: code/{source_language}/comments/{project_id}/{file}. Input: project_id: pkm project to query source_language: the programming language of the file (java/c/cpp) target_language: the target programming or constraints language (jml, acsl, acsl++, ast, java, c, cpp) file: the file whose comments will be parsed to code. This Output: status: boolean indicating the success or failure of the call message: "Success" if status is true and an error message otherwise Side effect: If successful, the targeted comments are completed with their translation in the target language.
free text keywords: semantic parsing, code generation, natural language processing, transformers, neural networks
  • Digital Humanities and Cultural Heritage
Funded by
DEveloper COmpanion for Documented and annotatEd code Reference
  • Funder: European Commission (EC)
  • Project Code: 824231
  • Funding stream: H2020 | RIA
Download fromView all 2 versions
Open Access
Software . 2022
Providers: ZENODO
Open Access
Software . 2022
Providers: Datacite
Any information missing or wrong?Report an Issue