def lemmatizer_fun(lemmatizer, token, token_tag=None):
    """lemmatize token with tag of token in sentence
    if token has not tag lemmatized With no tag method

    Arguments:
        lemmatizer {obj} -- instance of WordNetLemmatizer
        token {str} -- token

    Keyword Arguments:
        token_tag {str} -- tag of token in sentence (default: {None})

    Returns:
        str -- lemmatized token
    """

    if token_tag is None:
        return lemmatizer.lemmatize(token)

    return lemmatizer.lemmatize(token, pos=token_tag)