def remove_stopwords(text, stopwords):
    """
    Standard way to remove stopwords from text. Text is a string. Stopwords is
    a list of strings to remove. Returns cleaned string.
    """
    text = ' ' + text + ' '
    for w in stopwords:
        text = text.replace(u' {0} '.format(w.decode('utf8')), u' ')
    return text.strip()
