@cached_property
    def classifier(self):
        try:
            return self.train()
        except AttributeError:  # nltk_class has not been defined
            raise ValueError("NLTKClassifier must have a nltk_class"
                            " variable that is not None.")
Request-local database connection.
dataset/ETHPy150Open sloria/TextBlob/textblob/classifiers.py/NLTKClassifier.classifier--crossover with--dataset/ETHPy150Open disqus/playa/playa/ext/zodb.py/ZODB.connection