def filter_tagged_vocabulary(tagged_vocabulary, vocabulary, split="|"):
    """Filters tagged_vocabulary (tokens merged with tags) for tokens
    occurring in vocabulary.

    Parameters
    ----------
    tagged_vocabulary : collection
        vocabulary of tokens (can be merged with tags)
    vocabulary : collection
        target vocabulary of tokens without tags
    split : str
        string delimiting tags and tokens in tagged_vocabulary
    """
    targets = set()

    for tagged_word in tagged_vocabulary:
        word, *tag = tagged_word.split(split)
        if word in vocabulary:
            targets.add(tagged_word)

    return targets