09e70570190a441e4f4875e6e45848fd9c0a0372,yellowbrick/text/postag.py,PosTagVisualizer,_penn_tag_map,#PosTagVisualizer#,154

Before Change


        
        Returns a Penn Treebank part-of-speech tag map.
        
        return {
            "noun": 0,
            "verb": 0,
            "adjective": 0,
            "adverb": 0,
            "preposition": 0,
            "determiner": 0,
            "pronoun": 0,
            "conjunction": 0,
            "infinitive": 0,
            "wh- word": 0,
            "modal": 0,
            "possessive": 0,
            "existential": 0,
            "punctuation": 0,
            "digit": 0,
            "non-English": 0,
            "interjection": 0,
            "list": 0,
            "symbol": 0,
            "other": 0,
        }

    def _uni_tag_map(self):
        
        Returns a Universal Dependencies part-of-speech tag map.

After Change


        Returns a Penn Treebank part-of-speech tag map.
        
        self._pos_tags = PENN_TAGS
        return self._make_tag_map(PENN_TAGS)
    
    def _uni_tag_map(self):
        
        Returns a Universal Dependencies part-of-speech tag map.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 09e70570190a441e4f4875e6e45848fd9c0a0372
Time: 2019-06-03
Author: 43993586+naresh-bachwani@users.noreply.github.com
File Name: yellowbrick/text/postag.py
Class Name: PosTagVisualizer
Method Name: _penn_tag_map


Project Name: Esri/raster-functions
Commit Name: d40ecc90c80ded43a98d23e0e46b5f5e849f02c5
Time: 2014-08-26
Author: akferoz@esri.com
File Name: ReferenceTemplate.py
Class Name: ReferenceFunction
Method Name: getParameterInfo


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 09e70570190a441e4f4875e6e45848fd9c0a0372
Time: 2019-06-03
Author: 43993586+naresh-bachwani@users.noreply.github.com
File Name: yellowbrick/text/postag.py
Class Name: PosTagVisualizer
Method Name: _uni_tag_map