def _combine_texts_to_str(text_corpus, ignore_words=None):
    """
    Combines texts into one string.

    Parameters
    ----------
        text_corpus : str or list
            The texts to be combined.

        ignore_words : str or list
            Strings that should be removed from the text body.

    Returns
    -------
        texts_str : str
            A string of the full text with unwanted words removed.
    """
    if isinstance(ignore_words, str):
        words_to_ignore = [ignore_words]
    elif isinstance(ignore_words, list):
        words_to_ignore = ignore_words
    else:
        words_to_ignore = []

    if isinstance(text_corpus[0], list):
        flat_words = [text for sublist in text_corpus for text in sublist]
        flat_words = [
            token
            for subtext in flat_words
            for token in subtext.split(" ")
            if token not in words_to_ignore
        ]

    else:
        flat_words = [
            token
            for subtext in text_corpus
            for token in subtext.split(" ")
            if token not in words_to_ignore
        ]

    return " ".join(flat_words)