DTA::CAB::Document - generic API for whole documents passed to/from DTA::CAB::Analyzer
use DTA::CAB::Document;
$doc = CLASS_OR_OBJ->new(\@sentences,%args);
$n = $doc->nTokens();
DTA::CAB::Document inherits from DTA::CAB::Datum.
$doc = CLASS_OR_OBJ->new(\@sentences,%args);
%args, %$doc:
body => \@sentences, ##-- DTA::CAB::Sentence objects
$n = $doc->nTokens();
Returns number of tokens in the document.
Bryan Jurish <moocow@cpan.org>
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.
Hey! The above document had some coding errors, which are explained below:
=cut found outside a pod block. Skipping to next block.