Skip to content

Experiments of developing an IRTG which simultaneously encodes transformations between phrase structure trees, dependency graphs and semantic graphs.

License

Notifications You must be signed in to change notification settings

holloszaboakos/semantic_parsing_with_IRTGs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

semantic_parsing_with_IRTGs

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.

Python virtual environment

Whenever possible, all code should be written in Python3 and use the repository's virtual environment.

Creating the virtual environment

With virtualenvwrapper

mkvirtualenv -p python3 irtg

Without virtualenvwrapper

python3 -m venv .venv

If the default python executable is Python3 (e.g. on Windows):

python -m venv .venv

Activating the virtual environment

With virtualenvwrapper

workon irtg

Without virtualenvwrapper

Linux

. .venv/bin/activate

Windows

Using CMD.exe:

.venv\Scripts\activate.bat

Using powershell:

.\.venv\Scripts\Activate.ps1

Installing the required modules

After activating the virtual environment:

pip install -r requirements.txt

Deactivating the virtual environment

deactivate

About

Experiments of developing an IRTG which simultaneously encodes transformations between phrase structure trees, dependency graphs and semantic graphs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 94.3%
  • Shell 5.7%