Tool for converting XTAG files to JSON and XML format.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
xtag
GrammarToTree.py
JSONtoXML.py
README.md
config.ini
grammar.xml
main.py
requirements.txt
utils.py
xmg-tag.dtd,xml

README.md

XTAG to XML

A tool to convert XTAG grammar rules stored in the obsolete .trees format to JSON and XML files. Developed as part of the CRC991 (Project A02) at Heinrich Heine University Düsseldorf. For more information, visit http://www.sfb991.uni-duesseldorf.de/en/a02/

Info

Written in Python 3.4.

How to use:

  • python main.py (to use default settings from config.ini)
  • python main.py [xtag-directory] [json-directory] [xml-directory] [toggle-single-file]

TODO

  • include dtd