TBX::Min::TIG - Store information from one TBX-Min tig element
tig
version 0.08
use TBX::Min::TIG; my $term_grp = TBX::Min::TIG->new( {term => 'bat signal', status => "preferred"}); $term_grp->part_of_speech('noun'); $term_grp->customer('GCPD'); print $term_grp->term; # 'bat signal'
This class represents a single term group contained in a TBX-Min file. A term group contains a single term and information pertaining to it, such as part of speech, a note, or the associated customer.
new
Creates a new TBX::Min::TIG instance. Optionally you may pass in a hash reference which is used to initialized the object. The fields of the hash correspond to the names of the accessor methods listed below.
TBX::Min::TIG
term
Get or set the term text associated with this term group.
part_of_speech
Get or set the part of speech associated with this term group.
note_groups
Returns an array ref containing all of the TBX::Min::NoteGrp objects in this tig. The array ref is the same one used to store the objects internally, so additions or removals from the array will be reflected in future calls to this method.
TBX::Min::NoteGrp
add_note_group
Adds the input TBX::Min::NoteGrp object to the list of language groups contained by this object.
customer
Get or set a customer associated with this term group.
status
Get or set a status associated with this term group.
TBX::Min
Nathan Glenn <garfieldnate@gmail.com>, James Hayes <james.s.hayes@gmail.com>
This software is copyright (c) 2016 by Alan Melby.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install TBX::Min, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TBX::Min
CPAN shell
perl -MCPAN -e shell install TBX::Min
For more information on module installation, please visit the detailed CPAN module installation guide.