Lingua-Interset

 view release on metacpan or  search on metacpan

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

            # will choose infinitive.
            'U'  => ['pos' => 'part', 'parttype' => 'inf'],
            # I = interjection
            'I'  => ['pos' => 'int'],
            # X = residual class
            'XA' => ['abbr' => 'yes'],
            'XF' => ['foreign' => 'yes'],
            'XP' => ['pos' => 'punc'],
            # symbol, e.g. "+"
            'XS' => ['pos' => 'sym'],
            # formulae, e.g. "U-21"
            # nothing to do - same as "other"
            'XR' => ['other' => {'pos' => 'formula'}],
            # other than the above
            'XX' => []
        },
        'encode_map' =>
        {
            'pos' => { 'noun' => { 'prontype' => { ''    => { 'nountype' => { 'prop' => 'NP',
                                                                              '@'    => 'NC' }},
                                                   'prs' => { 'poss' => { 'yes' => 'PO',
                                                                          '@'    => 'PP' }},
                                                   'rcp' => 'PC',

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

                       'adv'  => 'RG',
                       'adp'  => 'SP',
                       'conj' => { 'conjtype' => { 'sub' => 'CS',
                                                   '@'   => 'CC' }},
                       'part' => 'U',
                       'int'  => 'I',
                       'punc' => 'XP',
                       'sym'  => 'XS',
                       '@'    => { 'abbr' => { 'yes' => 'XA',
                                               '@'    => { 'foreign' => { 'yes' => 'XF',
                                                                          '@'       => { 'other/pos' => { 'formula' => 'XR',
                                                                                                          '@'       => 'XX' }}}}}}}
        }
    );
    # GENDER ####################
    $atoms{gender} = $self->create_simple_atom
    (
        'intfeature' => 'gender',
        'simple_decode_map' =>
        {
            'common'        => 'com',

lib/Lingua/Interset/Tagset/MT/Mlss.pm  view on Meta::CPAN

        # residual, acronym
        # examples: Dr, ICT, Prof., UE, PARC
        'RA'    => ['pos' => 'noun', 'nountype' => 'prop', 'abbr' => 'yes'],
        # residual, abbreviation
        # examples: ..., Ltd, Ed, GĦST, ICT
        'RB'    => ['abbr' => 'yes'],
        # residual, date
        # examples: 13, 631, 22, 158, 33
        # this tag is not restricted to dates, it appears e.g. in "artikolu 631" (article 631)
        'RD'    => ['pos' => 'num', 'numtype' => 'card', 'other' => {'cardtype' => 'date'}],
        # residual, formula, mathematical symbol
        'RFR'   => ['pos' => 'sym'],
        # residual, foreign word
        # examples: of, the, for, in, e
        'RFW'   => ['foreign' => 'yes'],
        # residual, honorific
        # examples: Sur, San, Dun, European, Fr
        'RH'    => ['pos' => 'noun', 'nountype' => 'com', 'other' => {'nountype' => 'title'}],
        # residual, other
        # examples: a, b, S, A, d
        'RO'    => [],



( run in 0.250 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )