NAME

DTA::CAB::Document - generic API for whole documents passed to/from DTA::CAB::Analyzer

SYNOPSIS

 use DTA::CAB::Document;
 
 $doc = CLASS_OR_OBJ->new(\@sentences,%args);
 $n = $doc->nTokens();

DESCRIPTION

Globals

Variable: @ISA

DTA::CAB::Document inherits from DTA::CAB::Datum.

Constructors etc.

new
 $doc = CLASS_OR_OBJ->new(\@sentences,%args);

%args, %$doc:

 body => \@sentences,  ##-- DTA::CAB::Sentence objects

Methods

nTokens
 $n = $doc->nTokens();

Returns number of tokens in the document.

AUTHOR

Bryan Jurish <moocow@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2009-2019 by Bryan Jurish

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

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 364:

=cut found outside a pod block. Skipping to next block.