import re


def createWordList (reviews, names, remove_punct=True):
    """
    Create a list of reviews.
    
    :param reviews: List of dataframes
    :type  reviews: list
    :param names: List of business names
    :type  names: list
    :param remove_punct: If true, remove punctuations.
    :type  remove_punct: bool
    :returns: A list where each element is string of all reviews for one business. 
    :rtype:  list
    """
    
    word_list = []
    for (i, csv) in enumerate (reviews):
        all_words = ""
        for (index, row) in csv.iterrows():
            all_words += row [names[i]]
        all_words = all_words.lower()
        
        if remove_punct:
            word_list.append (re.sub('[()!@%^&*-+\$.,?"#\xa0]', ' ', all_words))
        else:
            word_list.append(all_words)
    return word_list