from typing import Iterable


def bag_of_words_to_docs(text_docs_bow: Iterable[Iterable[str]]) -> Iterable[str]:
    """Converts list of documents in "bag of words" format.

    This converts back into form of document being stored in one string.

    Args:
        text_docs_bow: A list of lists of words from a document

    Returns:
        A generator expression for all of the processed documents
    """
    return (" ".join(doc) for doc in text_docs_bow)