GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIST-EDGES (1)

.ds Aq ’

NAME



  list-edges - reads penn treebanks, prints out all edges found in each tree, one tree per line



CONTENTS

SYNOPSIS



  list-edges [options] [file ...]

  Options:
     -help        brief help message
     -man         full documentation
    --verbose     more verbose to STDERR
    --directinput allow TTY to STDIN

    --format FORMAT provide a different output format

    --terminal    include (exclude) terminal expansions
    --noterminal  default is --noterminal



    Sample output



  $ echo "(S (NP (DET the) (NN dog)) (VP (VBD ran)))" | ./list-edges --terminal
  DET::the,0,1 NN::dog,1,2 NP,0,2 VBD::ran,2,3 VP,2,3



OPTIONS

<B>--helpB>
<B>-?B> Show this help message.
<B>--manB> Show the manual page for this script.
<B>--directinputB> By default, if there is a human-operated TTY on STDIN, this script issues a usage message and exits (this is so users can run list-edges and get the usage message). If you really want to type trees by hand on STDIN, add the <B>--directinputB> flag.
<B>--verboseB> Repeatable option. Report more of what we’re doing.
<B>--terminalB>
<B>--noterminalB> Whether or not to print the edges indicating terminal items.
<B>--formatB> FORMAT doesn’t currently do anything

DESCRIPTION

This program lists all edges in the trees presented, one tree per line. Edges are LABEL,INDEX,INDEX where INDEX values come from between the words (0-based).

    CAVEATS

The trees must be in Penn treebank format.

    TO DO

None that I know of.

AUTHOR

Jeremy G. Kahn <jgk@ssli.ee.washington.edu>
Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 LIST-EDGES (1) 2008-08-28

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.