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  -  VOCABULARY (1)

.ds Aq ’

NAME

vocabulary -- extract vocabularies from Penn treebank files

CONTENTS

SYNOPSIS

vocabulary [-NT ntfile] [-POS posfile] [-word wordfile] [-count] [-binarized] [-verbose] file1 [file2...]

File1, file2 etc. are the names of Penn treebank files. If none are specified, STDIN is used.

OPTIONS

<B>NTB> Write the non-terminal node vocabulary to ntfile.
<B>POSB> Write the part of speech vocabulary to posfile
<B>wordB> Write the word vocabulary to wordfile.
<B>countB> Print the frequency counts for each of the categories.
<B>binarizedB> The file is in binarized format.
<B>verboseB> Print filenames as they are processed.

DESCRIPTION

Given a list of Penn treebank files, this script extracts the words, parts of speech, and non-terminal node names and emits each in a separate file in order of frequency.

Note that giving a - argument for any of ntfile, posfile, or wordfile causes the results to be written to STDOUT.

AUTHOR

W.P. McNeill <billmcn@ssli.ee.washington.edu>
Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 VOCABULARY (1) 2005-01-05

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