def word_doc_freq_map(doc):
    """emit words
    Args:
        doc (list[string]): one document
    Returns:
        zip(string, int): emitted words
    """
    words = set(doc)
    return zip(words, [1] * len(words))