

def map_tag(source, target, source_tag):
    "\n    Maps the tag from the source tagset to the target tagset.\n\n    >>> map_tag('en-ptb', 'universal', 'VBZ')\n    'VERB'\n    >>> map_tag('en-ptb', 'universal', 'VBP')\n    'VERB'\n    >>> map_tag('en-ptb', 'universal', '``')\n    '.'\n    "
    if (source_tag == 'universal'):
        if (source == 'wsj'):
            source = 'en-ptb'
        if (source == 'brown'):
            source = 'en-brown'
    return tagset_mapping(source, target)[source_tag]

dataset/ETHPy150Open nltk/nltk/nltk/tag/mapping.py map_tag/VarMisuse@18/136 `target`->`source_tag`