The ARAGORN ranker used by the ARAGORN ARA, which takes a TRAPI 1.5 message containing answers, and calculates numerical scores for each answer.
This is a upgraded port of code from robokop-messenger to perform omnicorp overlay, score and weight-correctness answer ranking.
ARAGORN-ranker uses the omnicorp database to retrieve ontologies. Please see the link below that references that codebase.
A live version of the API can be found here.
Below you will find references that detail the standards, web services and supporting tools that are part of ARAGORN.
To run the web server directly:
cd <aragorn-ranker root>
python<version> -m venv venv
source venv/bin/activate
pip install -r requirements.txt
cd <aragorn-ranker root>
./main.sh
Or build an image and run it.
cd <aragorn-ranker root>
docker build --tag <image_tag> .
Then start the container
docker run --name aragorn-ranker -p 8080:4868 aragorn-test
Kubernetes configurations and helm charts for this project can be found at:
https://github.com/helxplatform/translator-devops/helm/aragorn-ranker