Parameters
    ----------
    term_dict: dict {metadataname: [term1, term2, ....], ...}

    Returns
    -------
    None

def check_topic_model_string_format(term_dict):
    '''
    Parameters
    ----------
    term_dict: dict {metadataname: [term1, term2, ....], ...}

    Returns
    -------
    None
    '''
    if type(term_dict) != dict:
        raise TypeError("Argument for term_dict must be a dict, keyed on strings, and contain a list of strings.")
    for k, v in term_dict.items():
        if type(v) != list:
            raise TypeError("Values in term dict must only be lists.")

        if sys.version_info[0] == 2:
            if type(k) != str and type(k) != unicode:
                raise TypeError("Keys in term dict must be of type str or unicode.")
            for e in v:
                if type(k) != str and type(k) != unicode:
                    raise TypeError("Values in term lists must be str or unicode.")

        if sys.version_info[0] == 3:
            if type(k) != str:
                raise TypeError("Keys in term dict must be of type str.")
            for e in v:
                if type(e) != str:
                    raise TypeError("Values in term lists must be str.")