This repository contains our experiments of developing an IRTG (Interpreted Regular Tree Grammar) which implements a mapping between the output of the Stanford Parser, Universal Dependencies v2.1 and 4lang.
Whenever possible, all code should be written in Python3 and use the repository's virtual environment.
mkvirtualenv -p python3 irtg
python3 -m venv .venv
If the default python executable is Python3 (e.g. on Windows):
python -m venv .venv
workon irtg
. .venv/bin/activate
Using CMD.exe
:
.venv\Scripts\activate.bat
Using powershell
:
.\.venv\Scripts\Activate.ps1
After activating the virtual environment:
pip install -r requirements.txt
deactivate