def remove_stop_words(self, text, ignore_case=True, language=None):
        """Remove stop words.

        Stop words are loaded on class instantiation according
        to the specified language.

        Args:
            text: The text to be processed.
            ignore_case: Whether or not to ignore case.
            language: Code of the language to use (defaults to 'en').

        Returns:
            The text without stop words.
        """
        if not language:
            language = self._config.language

        if language not in self.__stop_words:
            if not self._load_stop_words(language):
                self._logger.error('No stop words file for the given language')
                return text

        return ' '.join(word for word in text.split(' ') if (
            word.lower() if ignore_case else word) not in self.__stop_words[language])
Remove stop words.

        Stop words are loaded on class instantiation according
        to the specified language.

        Args:
            text: The text to be processed.
            ignore_case: Whether or not to ignore case.
            language: Code of the language to use (defaults to 'en').

        Returns:
            The text without stop words.