NAME

Lingua::Align::Corpus::Treebank - Virtual Perl extension to read treebanks; default format = Penn Treebank format

SYNOPSIS

  my $treebank = new Lingua::Align::Corpus::Treebank(-file => $corpusfile,
                                                     -type => 'TigerXML');

my %tree=();
while ($treebank->next_sentence(\%tree)){
  print $treebank->print_sentence(\%tree);
  print "\n";
}

DESCRIPTION

EXPORT

SEE ALSO

AUTHOR

Joerg Tiedemann, <tiedeman@>

COPYRIGHT AND LICENSE

Copyright (C) 2009 by Joerg Tiedemann

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.