Overview

This is a package of perl modules for accessing Unitex graphs.

For documentation see:

Unitex::Graph

base modul for graph generation and manipulation

Unitex::Graph::Reader
Unitex::Graph::Writer
Unitex::Graph::Format
Unitex::Graph::TransTab

graph represented as transition table (used for determination, minimization, etc.; and also for representing compiled Unitex graphs (*.fst2)

Gram2Grf

parses a grammar and generates equivalent graphs

Unitex::Graph::Grammar::Parser

parser (class) for grammars describing graphs

FormatGrf

formats an existing Unitex graph using GraphViz engine

PrintGrf

prints an Unitex graph as postscript, image etc.

Fst2deps

plots a dependency graph of all (sub)graphs contained in one local grammar (Unitex compiled grammar *.fst2)


Prerequisites

Following modules available at CPAN (http://www.cpan.org) are needed:

Graph
Graph::Reader
Graph::Writer
GraphViz
IPC::Open2
Storable


Installation

As usual:

Unpack the bundle, change to the bundle directory, and type:

 perl Makefile.PL PREFIX=/my/perl
 make
 make install

Make sure that perl can find the modules (by setting $PERL5LIB).

See also perlmodinstall, especially for installation on non-UNIX systems.