list-edges man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

LIST-EDGES(1)	      User Contributed Perl Documentation	 LIST-EDGES(1)

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

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
       --help
       -?  Show this help message.

       --man
	   Show the manual page for this script.

       --directinput
	   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 --directinput flag.

       --verbose
	   Repeatable option. Report more of what we're doing.

       --terminal
       --noterminal
	   Whether or not to print the edges indicating terminal items.

       --format 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>

perl v5.20.2			  2008-08-28			 LIST-EDGES(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net