def compare_word_cloud(text1, label1, text2, label2):
    """Compares the wordclouds from 2 sets of texts"""
    from wordcloud import WordCloud
    import matplotlib.pyplot as plt
    wordcloud1 = WordCloud(max_font_size=80, max_words=200,
        background_color='white').generate(' '.join(text1))
    wordcloud2 = WordCloud(max_font_size=80, max_words=200,
        background_color='white').generate(' '.join(text2))
    fig, ax = plt.subplots(nrows=1, ncols=2, figsize=(20, 15))
    ax[0].imshow(wordcloud1, interpolation='bilinear')
    ax[0].set_aspect(1.5)
    ax[0].axis('off')
    ax[0].set_title(label1, fontsize=20)
    ax[1].imshow(wordcloud2, interpolation='bilinear')
    ax[1].set_aspect(1.5)
    ax[1].axis('off')
    ax[1].set_title(label2, fontsize=20)
    fig.tight_layout()
    return fig, ax
