This is a temporary repository, it should be deprecated as upstream. This repository is for the backend of a friends website
git clone --recurse-submodule <url> <name>Please setup python >= 3.7, pip and the listing below. Other versions might work but aren't tested.
Setting up the virtual environment for python. We have chosen to use venv instead of other virtual environment tools for reasons stated from the official documentations
# Replace all instances of <venv> with /path/to/directory
python3 -m venv <venv>
# POSIX compliant
source <venv>/bin/activate
# DOS compliant
<venv>\Scripts\activate.batThe libraries of the ape.exe file may require the libraries of SWI-Prolog go and download it. Or if you're on Linux, you could search on your package manager.
pip install pyswipYou would probably need to recompile the ape.exe file. Go to their Github Page clone it or you could use the submodule provided in this repository and run
# POSIX compliant
cd APE
make install
mv ape.exe ..
cd ..python3 translator.pyThis would make the translator app input the natural language text file, nl.txt and turn it into a OWL/XML format of output text.owl.