Lingua-Interset

 view release on metacpan or  search on metacpan

lib/Lingua/Interset/Tagset/IT/Conll.pm  view on Meta::CPAN

    # PART OF SPEECH ####################
    $atoms{pos} = $self->create_atom
    (
        'surfeature' => 'pos',
        'decode_map' =>
        {
            # S = common noun (presidente, anno, giorno, mondo, tempo)
            'S'  => ['pos' => 'noun', 'nountype' => 'com'],
            # SP = proper noun (Italia, Milano, Nanni, Mayo, Allende)
            'SP' => ['pos' => 'noun', 'nountype' => 'prop'],
            # SW = foreign word (publishing, desktop, le, Tour, hard)
            'SW' => ['pos' => 'noun', 'foreign' => 'yes'],
            # SA = abbreviated noun (L., mq, km, cm, tel.)
            'SA' => ['pos' => 'noun', 'abbr' => 'yes'],
            # A = adjective (vero, stesso, nuovo, scorso, lungo)
            'A'  => ['pos' => 'adj'],
            # AP = possessive determiner (suo, mio, nostro, proprio, tuo, vostro)
            'AP' => ['pos' => 'adj', 'prontype' => 'prs', 'poss' => 'yes'],
            # RD = definite article (il, lo, i, gli, la, le, l')
            'RD' => ['pos' => 'adj', 'prontype' => 'art', 'definite' => 'def'],
            # RI = indefinite article (un, uno, una, un')



( run in 0.573 second using v1.01-cache-2.11-cpan-299005ec8e3 )