class StopWordRemover(object):
    """description of class"""

    def __init__(self, dictionary):
        self.dictionary = dictionary

    def get_dictionary(self):
        return self.dictionary

    def remove(self, text):
        """Remove stop words."""
        words = text.split(' ')
        for word in words:
            if self.dictionary.contains(word):
                words.remove(word)
        return ' '.join(words)

9bdec41b9e02b1373d7462dd8a3daea70af13462
class StopWordRemover(object):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

class StopWordRemover(object):
    <mask token>

    def __init__(self, dictionary):
        self.dictionary = dictionary
    <mask token>

    def remove(self, text):
        """Remove stop words."""
        words = text.split(' ')
        for word in words:
            if self.dictionary.contains(word):
                words.remove(word)
        return ' '.join(words)

class StopWordRemover(object):
    <mask token>

    def __init__(self, dictionary):
        self.dictionary = dictionary

    def get_dictionary(self):
        return self.dictionary

    def remove(self, text):
        """Remove stop words."""
        words = text.split(' ')
        for word in words:
            if self.dictionary.contains(word):
                words.remove(word)
        return ' '.join(words)

class StopWordRemover(object):
    """description of class"""

    def __init__(self, dictionary):
        self.dictionary = dictionary

    def get_dictionary(self):
        return self.dictionary

    def remove(self, text):
        """Remove stop words."""
        words = text.split(' ')
        for word in words:
            if self.dictionary.contains(word):
                words.remove(word)
        return ' '.join(words)
