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  -  LINGUA::TREEBANK::HEADFINDER (3)

.ds Aq ’

NAME

Lingua::Treebank::HeadFinder - Head-finding in Lingua::Treebank

CONTENTS

SYNOPSIS



  use Lingua::Treebank;

  my @utterances = Lingua::Treebank->from_penn_file($filename);

  foreach (@utterances) {
    # $_ is a Lingua::Treebank::Const now

    foreach ($_->get_all_terminals) {
      # $_ is a Lingua::Treebank::Const that is a terminal (word)

      print $_->word(),   $_->tag(), "\n";
    }

    print "\n\n";

  }



ABSTRACT



  Lingua::Treebank::HeadFinder is an object that reads a
  Magerman-style head-finding list and performs headfinding on
  Lingua::Treebank::Const trees.



DESCRIPTION



  The L::TB::HeadFinder object is initialized from a list like the one in



To do

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HEADFINDER (3) 2008-03-21

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