The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lingua::FreeLing3::Paragraph - Interface to FreeLing3 Paragraph object

SYNOPSIS

   use Lingua::FreeLing3::Paragraph;

DESCRIPTION

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.

SEE ALSO

Lingua::FreeLing3(3) for the documentation table of contents. The freeling library for extra information, or perl(1) itself.

AUTHOR

Alberto Manuel Brandão Simões, <ambs@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011-2012 by Projecto Natura