Software Open Access
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:
build_docker.sh to build the Docker container.
Start the Docker container with
To test the service, you can use
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:
If successful, the targeted comments are completed with their translation in the target language.