Lingua::Interset::Tagset - The root class for all physical tagsets covered by DZ Interset 2.0.
version 2.001
package Lingua::Interset::MY::Tagset; use Moose; extends 'Lingua::Interset::Tagset'; use Lingua::Interset::FeatureStructure; sub decode { my $self = shift; my $tag = shift; my $fs = Lingua::Interset::FeatureStructure->new(); ... return $fs; } sub encode { my $self = shift; my $fs = shift; # Lingua::Interset::FeatureStructure my $tag; ... return $tag; } sub list { my $self = shift; return ['NOUN', 'VERB', 'OTHER']; } 1;
DZ Interset is a universal framework for reading, writing, converting and interpreting part-of-speech and morphosyntactic tags from multiple tagsets of many different natural languages.
The Tagset
class is the inheritance root for all classes describing physical tagsets (sets of strings of characters). It defines decoding of tags, encoding and list of known tags.
Dan Zeman <zeman@ufal.mff.cuni.cz>
This software is copyright (c) 2014 by Univerzita Karlova v Praze (Charles University in Prague).
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.