Tree Editor TrEd

# Tree Editor TrEd 2.0

Copyright (c) 2000-2009 by Petr Pajas

Copyright (c) 2010-2011 by Peter Fabian

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 2.0 is a refactored version of original TrEd. A new installation procedure which takes advantage of popular Nullsoft Scriptable Install System for Windows has been created.
Since version 2.0, TrEd uses another Perl distribution on Windows: Active Perl has been substituted by Strawberry Perl. This allows TrEd to be shipped along with Perl distribution in one package.

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

- Windows 2000/XP/Vista/7 (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`)
- TrEd Code Analysis & Refactoring documentation
- 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
  `tred-installer-perl-included.exe (SIZE_OF:tred-installer-perl-included.exe) - TrEd + Modules + Strawberry Perl`

    This is a full installation package of TrEd for Microsoft Windows. This installer contains TrEd, required Perl Modules and a recent version of Strawberry Perl.

  `tred-installer.exe (SIZE_OF:tred-installer.exe) - TrEd + Modules`

    This installer contains TrEd and required Perl Modules.

  `tred-portable.7z (SIZE_OF:tred-portable.7z) - TrEd + Modules + Strawberry Perl portable`

    This is a portable version of TrEd, works without installation. Use 7-zip to extract files from the archive.

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!
  Since several packages like Tk needs to be compiled, users should install these dependencies for the compilation to work:
  X11 dev package, Xft dev package, lib fontconfig dev package, libpng12 dev package, zlib1g dev package and libxml2 dev package
  Ubuntu/Debian users can use this command:
  sudo apt-get install libx11-dev libxft-dev libfontconfig1-dev libpng12-dev zlib1g-dev libxml2-dev

  `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/