Skip to content
A minimal Python implementation of the Treex API
Python
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.
bin Moving main executable Apr 1, 2017
pytreex
.gitignore
LICENSE.txt
README.md Update README.md Apr 1, 2017
setup.py Update setup.py Apr 30, 2019

README.md

PyTreex

PyTreex is a minimal implementation of the Treex API in Python. It has classes and methods for common Treex objects, such as documents, bundles, zones, trees, nodes, and blocks.

One can run Treex-like scenarios (which are stored in YAML) from the command-line. However, the current version is not able to read Treex XML files. Treex XML files must be stored in YAML format using the Write::YAML Treex block before using them here.

This Python version of Treex is experimental and its use case is at best marginal; we still recommend you to use the original, Perl Treex.

Installation

PyTreex can be installed directly from GitHub using pip:

pip install git+https://github.com/ufal/pytreex

Dependencies

Copyright

Copyright 2013-2017 Institute of Formal and Applied Linguistics, Charles University, Prague. Licensed under the Apache 2.0 license (see LICENSE.txt).

You can’t perform that action at this time.