# Tree Editor TrEd

Copyright (c) 2000-2009 by Petr Pajas

WARNING: This version of TrEd is out of date. For the most recent version, check this page.

This is a free software distributed under GPL - The General Public Licence
Full text of the GPL can be found at http://www.gnu.org/copyleft/gpl.html

## Description

TrEd is a fully customizable and programmable graphical editor and viewer for tree-like structures. Among other projects, it was used as the main annotation tool for syntactical and tectogrammatical annotations in The Prague Dependency Treebank, as well as for decision-tree based morphological annotation of The Prague Arabic Dependency Treebank.

TrEd runs on the following platforms (see installation instructions for details):

- Windows 2000/XP/Vista (TM)
- Linux
- BSD, OS X, UNIX, Solaris (TM) and other UNIX-based systems

## TrEd Homepage

For up-to-date information and most current versions of TrEd, see the project homepage.

## Documentation

- TrEd User's Manual
- documentation of Treex::PML - the fundamental libraries used by the TrEd toolkit
- documentation of miscelaneous support macros (`contrib.mak`)
- documentation of some PML related macros (`PML.mak`)
- documentation of macros provided by the PDT 2.0 extension (`pdt20`)
- manual page of `btred` - the command-line macro processor of the tree editor TrEd
- manual page of `ntred` - btred server controller/hub/client
- an extensive tutorial on how to use `btred` and `ntred` tools for batch processing of PDT 2.0 data.
- Old Fslib documentation and porting guide to Treex::PML.

## Download

Current version:

Windows

  Please install ActivePerl >= 5.10 first! The following packages are not intended for use with Perl from CygWin or Strawberry Perl. For those Perl distributions, follow the Unix installation instructions (but we do not guarantee it will work).

  `tred_wininst_en_noAP.exe (SIZE_OF:tred_wininst_en_noAP.exe) - TrEd + Extensions + Modules`

    This self-extracting 7Zip archive contains TrEd, required Perl Modules, and standard TrEd Extensions. (Plain 7Zip here)

  `tred_wininst_en_small.exe (SIZE_OF:tred_wininst_en_small.exe) - TrEd + Modules`

    This smaller package does not include TrEd extensions. Extensions can be downloaded and installed separately from TrEd. (Plain 7Zip here)

Unix, Linux, Mac OS X

  NOTE: Perl >= 5.8.2 and basic development tools, (such as `make`, `patch`, and a C compiler `(gcc)`) are required to build TrEd dependencies!

  `install_tred.bash (6KB)`

    This installation script automatically fetches and builds latest TrEd and its dependencies for you.

    It downloads the packages below, uncompresses tred into a given folder and compiles and installs all dependencies either locally to TrEd's directory or to a given prefix. It also creates two wrapper scripts start_tred, start_btred, and start_ntred which configure library and module paths accordingly and start the corresponding tool. You may symlink these scripts to a folder in your PATH.

    Read help:

          bash install_tred.bash --help | less

    Install as user (everything under $HOME/tred)

          bash install_tred.bash --tred-dir ~/tred
          ~/tred/bin/start_tred

    Install as root to system paths:

          bash /install_tred.bash --tred-dir /opt/tred --system
          /usr/bin/start_tred

  `tred-current.tar.gz (SIZE_OF:tred-current.tar.gz)`

    This is the latest TrEd distribution package (including documentation). It runs on all supported platforms, but is mainly intended for Linux/Unix users. It requires Perl 5.8.3 or newer and some Perl modules provided in a dependency package below. After installing all dependencies, simply ungzip+untar this package and run `tred/tred`.

  `tred-dep-unix.tar.gz (SIZE_OF:tred-dep-unix.tar.gz)`

    This package bundles sources for Linux/Unix dependencies for TrEd (mostly Perl modules). The `install` script contained in the package automates compilation and installation of all these dependencies.

## Extensions

Click the following link for a list of TrEd Extension Packages currently available in the default extension repository

http://ufal.mff.cuni.cz/~pajas/tred/extensions/