Lingua-FreeLing3
view release on metacpan or search on metacpan
lib/Lingua/FreeLing3/Paragraph.pm view on Meta::CPAN
}
}
return $self;
}
=head2 C<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.
=cut
sub sentence {
my ($self, $n) = @_;
$n >= $self->length() and return undef;
Lingua::FreeLing3::Sentence->_new_from_binding($self->SUPER::get($n));
}
=head2 C<sentences>
lib/Lingua/FreeLing3/RelaxTagger.pm view on Meta::CPAN
The constructor returns the tagger object for that language, or undef
in case of failure.
It understands the following options:
=over 4
=item C<maxIterations>
An integer stating the maximum number of iterations to wait for
convergence before stopping the disambiguation algorithm. Default
value if 500.
=item C<scaleFactor>
A real number representing the scale factor of the constraint
weights. Defaults to 670.
=item C<threshold>
( run in 0.969 second using v1.01-cache-2.11-cpan-71847e10f99 )