Lingua::FreeLing3::Paragraph - Interface to FreeLing3 Paragraph object
use Lingua::FreeLing3::Paragraph;
This module is a wrapper to the FreeLing3 Paragraph object.
new
The constructor returns a new Paragraph object: a list of sentences
push
Adds one or more sentences to the paragraph.
sentence
Gets a sentence from a paragraph. Note that this method is extremely slow, given that FreeLing paragraph is implemented as a list. Therefore, retrieving the nth element of the list does n iterations on a linked list.
sentences
Returns an array of sentences from a paragraph.
length
Returns the number of sentences in the paragraph.
Lingua::FreeLing3(3) for the documentation table of contents. The freeling library for extra information, or perl(1) itself.
Alberto Manuel Brandão Simões, <ambs@cpan.org>
Copyright (C) 2011-2012 by Projecto Natura
To install Lingua::FreeLing3, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::FreeLing3
CPAN shell
perl -MCPAN -e shell install Lingua::FreeLing3
For more information on module installation, please visit the detailed CPAN module installation guide.