| 1 | # ABSTRACT: Driver for the Spanish tagset of the CoNLL 2009 Shared Task. | ||
| 2 | # Copyright © 2011, Zdeněk Žabokrtský <zabokrtsky@ufal.mff.cuni.cz> | ||
| 3 | # Copyright © 2011, 2014 Dan Zeman <zeman@ufal.mff.cuni.cz> | ||
| 4 | # Originally Italian decoder written by Dan Zeman and Loganathan Ramasamy | ||
| 5 | # adapted for Spanish by Zdeněk Žabokrtský | ||
| 6 | # further developed by Dan Zeman | ||
| 7 | |||
| 8 | package Lingua::Interset::Tagset::ES::Conll2009; | ||
| 9 | use strict; | ||
| 10 | use warnings; | ||
| 11 | our $VERSION = '3.014'; | ||
| 12 | |||
| 13 | use utf8; | ||
| 14 | use open ':utf8'; | ||
| 15 | use namespace::autoclean; | ||
| 16 | use Moose; | ||
| 17 | extends 'Lingua::Interset::Tagset::CA::Conll2009'; | ||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | 1; | ||
| 22 | |||
| 23 | __END__ | ||
| 24 | |||
| 25 | =pod | ||
| 26 | |||
| 27 | =encoding UTF-8 | ||
| 28 | |||
| 29 | =head1 NAME | ||
| 30 | |||
| 31 | Lingua::Interset::Tagset::ES::Conll2009 - Driver for the Spanish tagset of the CoNLL 2009 Shared Task. | ||
| 32 | |||
| 33 | =head1 VERSION | ||
| 34 | |||
| 35 | version 3.014 | ||
| 36 | |||
| 37 | =head1 SYNOPSIS | ||
| 38 | |||
| 39 | use Lingua::Interset::Tagset::ES::Conll2009; | ||
| 40 | my $driver = Lingua::Interset::Tagset::ES::Conll2009->new(); | ||
| 41 | my $fs = $driver->decode("n\tpostype=common|gen=m|num=s"); | ||
| 42 | |||
| 43 | or | ||
| 44 | |||
| 45 | use Lingua::Interset qw(decode); | ||
| 46 | my $fs = decode('es::conll2009', "n\tpostype=common|gen=m|num=s"); | ||
| 47 | |||
| 48 | =head1 DESCRIPTION | ||
| 49 | |||
| 50 | Interset driver for the Spanish tagset of the CoNLL 2009 Shared Task. | ||
| 51 | CoNLL 2009 tagsets in Interset are traditionally two values separated by tabs. | ||
| 52 | The values come from the CoNLL 2009 columns POS and FEAT. | ||
| 53 | |||
| 54 | Note that the C<ca::conll2009> and C<es::conll2009> tagsets are identical as | ||
| 55 | they both come from the AnCora Catalan-Spanish corpus. For convenience, | ||
| 56 | separate drivers called CA::Conll2009 and ES::Conll2009 are provided, but one | ||
| 57 | is derived from the other. | ||
| 58 | |||
| 59 | =head1 SEE ALSO | ||
| 60 | |||
| 61 | L<Lingua::Interset>, | ||
| 62 | L<Lingua::Interset::Tagset>, | ||
| 63 | L<Lingua::Interset::Tagset::CA::Conll2009>, | ||
| 64 | L<Lingua::Interset::FeatureStructure> | ||
| 65 | |||
| 66 | =head1 AUTHOR | ||
| 67 | |||
| 68 | Dan Zeman <zeman@ufal.mff.cuni.cz> | ||
| 69 | |||
| 70 | =head1 COPYRIGHT AND LICENSE | ||
| 71 | |||
| 72 | This software is copyright (c) 2019 by Univerzita Karlova (Charles University). | ||
| 73 | |||
| 74 | This is free software; you can redistribute it and/or modify it under | ||
| 75 | the same terms as the Perl 5 programming language system itself. | ||
| 76 | |||
| 77 | =cut |