Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ace-connect

This is a temporary repository, it should be deprecated as upstream. This repository is for the backend of a friends website

Git clone

git clone --recurse-submodule <url> <name>

Environment requirements

Please setup python >= 3.7, pip and the listing below. Other versions might work but aren't tested.

Virtual environments

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.bat

SWI-Prolog

The 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.

Python packages

pip install pyswip

APE - ACE Parsing Engine

You 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 ..

Execution

python3 translator.py

This 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.

About

this is a temporary repo, should be deprecated

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages