def flatten_twdict(twlist: list):
    """
    create flat list of tweet text from list of dict or list of list
    :param twlist: list of dict
    :return:
    """
    templst: list = []
    for twthis in twlist:
        if isinstance(twthis, dict):
            templst.append(twthis['text'])
        elif isinstance(twthis, list):
            templst.append(" ".join([str(x) for x in twthis]))
        else:
            templst.append(twthis)

    return templst