diff --git a/polyglot/downloader.py b/polyglot/downloader.py index bcc7a50..b173cd2 100644 --- a/polyglot/downloader.py +++ b/polyglot/downloader.py @@ -947,7 +947,8 @@ def get_collection(self, lang=None, task=None): except ValueError as e: if lang: raise LanguageNotSupported("Language {} is not supported".format(id)) if task: raise TaskNotSupported("Task {} is not supported".format(id)) - + + @staticmethod def supported_language(lang): """Return True if polyglot supports the language.