Tree Editor TrEd 2.0

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):

Documentation

Download

Current version: 2.5049 (release date Tue Oct 8 00:17:17 CEST 2013)

Windows
tred-installer-perl-included.exe (90M) - 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 (27M) - TrEd + Modules

This installer contains TrEd and required Perl Modules.

tred-portable.7z (41M) - TrEd + Modules + Strawberry Perl portable

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

Linux
tred_2.5049_all.deb (7.7M) - TrEd .deb package

The deb package was tested on current versions of Testing Debian (Wheezy) and Ubuntu. Current Stable Debian (Squeezy) does not contain following dependencies (libperl-ostype-perl libmodule-metadata-perl libjson-pp-perl libcpan-meta-yaml-perl libxml-sax-base-perl libperlio-gzip-perl).

To install the package use
$> sudo gdebi ./tred_2.5049_all.deb

or

$> sudo dpkg -i ./tred_2.5049_all.deb
which will most likely fail so it must be followed by
$> sudo apt-get -f install
to fix dependencies and install the package.
Then run /usr/bin/start_tred

tred-2-5049-fedora.noarch.rpm (7.7M) - TrEd .rpm package for Fedora (FC17)
tred-2-5049-rhel.noarch.rpm (7.7M) - TrEd .rpm package for Red Hat Enterprise Linux (6.3, Santiago)

The packages are designed for listed Linux distributions only. You may try to use these packages on other rpm-based distributions. The package cannot damage anything in incompatible distribution, but there may be some problems with package dependencies. If your distribution is not supported, we recommend to use the generic installation script for unices (presented below).

To install the package use
$> sudo yum localinstall ./tred-2-5049.noarch.rpm

The RHEL package have some dependencies in the Extra Packages for Enterprise Linux (EPEL) repository. You can register the repository (install the epel package) using following command:
$> sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm

OS X (Mac)
tred.dmg (28M) - TrEd Application for OS X 10.7 Lion and 10.8 Mountain Lion

This is a standard Mac OS X application (installed by drag-and-drop to Application folder). The application is designed for OS X 10.7 (Lion) and 10.8 (Mountain Lion). If you have older version of OS X, please use the generic unix installation script.

Please note that the OS X 10.8 (Mountain Lion) does not include X11 server (which is essential for TrEd) in standard installation. If you do not have the X11 server, it will be automatically installed when you launch TrEd for the first time. In case of any problems, please check this keynote to install X11 server manually.

tred_2.5049_osx-10.9-10.10.zip (16M) - TrEd Application for OS X 10.9 Mavericks and 10.10 Yosemite

This is an OS X application. You can put it anywhere you like. This version requires X11 server (XQuartz) to be already installed (see above). Depending on your security settings you may need to run it for the first time not by double-clicking it, but by right-clicking it and selecting "Open".

Unix, Linux, Mac OS X (for experienced users)

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
Fedora/Red Hat users can use:
sudo yum install perl-core wget gcc patch libX11-devel libXft-devel libpng-devel libxml2-devel zlib-devel perl-libwww-perl

install_tred.bash (13k)

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 2>&1 | tee install_tred.log
  ~/tred/bin/start_tred

Install as root to system paths:

  bash install_tred.bash --tred-dir /opt/tred --system 2>&1 | tee install_tred.log
  /usr/bin/start_tred
      
tred-current.tar.gz (8.2M)

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 (23M)

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

Please note that the extensions were moved to a new repository and divided into two parts for technical reasons (as of 5.10.2012). We recommend to install newest version of TrEd and delete your local configuration files. In case you cannot reinstall or you need to keep all your settings, update your settings so the Extension Manager uses following default repositories:


	http://ufal.mff.cuni.cz/tred/extensions/core/
	http://ufal.mff.cuni.cz/tred/extensions/external/
      

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

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

Valid XHTML 1.0 Transitional