(doclike: types.DocLike)
return dict(collections.Counter(tok.tag_ for tok in doclike))
Count the number of times each fine-grained part-of-speech tag appears
    as a token annotation in ``doclike``.

    Args:
        doclike

    Returns:
        Mapping of part-of-speech tag to count of occurrence.
Count the number of times each fine-grained part-of-speech tag appears
    as a token annotation in ``doclike``.
Count the number of times each fine - grained part - of - speech tag appears as a token annotation in doclike .
def tag(doclike: types.DocLike) -> Dict[str, int]:
    """
    Count the number of times each fine-grained part-of-speech tag appears
    as a token annotation in ``doclike``.

    Args:
        doclike

    Returns:
        Mapping of part-of-speech tag to count of occurrence.
    """
    return dict(collections.Counter(tok.tag_ for tok in doclike))
def tag ( doclike : types . DocLike ) -> Dict [ str , int ] : return dict ( collections . Counter ( tok . tag_ for tok in doclike ) )