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

    Args:
        doclike

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

    Args:
        doclike

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