def extract_features(self, text):
        # Feature extractor may take one or two arguments
        try:
            return self.feature_extractor(text, self.train_set)
        except (TypeError, AttributeError):
            return self.feature_extractor(text)
Return the equivalent index when the supershape is at the origin.
dataset/ETHPy150Open sloria/TextBlob/textblob/classifiers.py/BaseClassifier.extract_features--crossover with--dataset/ETHPy150Open kobejohn/polymaze/polymaze/shapes.py/Square.origin_index