Lingua::TreeTagger::Filter::Result::Hit - storing a matching sequence
Version 0.01
use Lingua::TreeTagger::Filter; my $hit = Lingua::TreeTagger::Filter::Result::Hit->new( begin_index => 1, sequence_length => 1, );
This module is part of the Lingua::TreeTagger::Filter distribution. It defines a class to store a matching sequence. See also Lingua::TreeTagger::Filter, Lingua::TreeTagger::Filter::Result and Lingua::TreeTagger::Filter::Result::Hit
new()
This constructor is normally called by the method apply_filter of the module Lingua::TreeTagger::Filter and not directly by the user The constructor has two required parameters.
begin_index
an Int corresponding to the index of the beginning from the matching sequence in the taggedtext sequence (an array, attribute 'sequence' from the taggedtext object)
sequence_length
an Int corresponding to the number of tokens composing the matching sequence
get_begin_index()
Read-only accessor for the 'begin_index' attribute
get_sequence_length()
Read-only accessor for the 'sequence_length' attribute
This is part of the Lingua::TreeTagger::Filter distribution. It is not intended to be used as an independent module.
This module requires module Moose and was developed using version 1.09.Please report incompatibilities with earlier versions to the author.
There are no known bugs in this module.
Please report problems to Benjamin Gay (Benjamin.Gay@unil.ch)
Patches are welcome.
Benjamin Gay, <Benjamin.Gay at unil.ch>
<Benjamin.Gay at unil.ch>
Copyright 2011 Benjamin Gay.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Lingua::TreeTagger::Filter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::TreeTagger::Filter
CPAN shell
perl -MCPAN -e shell install Lingua::TreeTagger::Filter
For more information on module installation, please visit the detailed CPAN module installation guide.