def _doublec(self, word):
        if len(word) < 2:
            return False
        if (word[-1] != word[-2]):
            return False
        return self._cons(word, len(word)-1)
Calculates given statistic for a NumPy array based on look-up
dataset/ETHPy150Open nltk/nltk/nltk/stem/porter.py/PorterStemmer._doublec--crossover with--dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/MultidimensionSupplementalTools/MultidimensionSupplementalTools/Scripts/mds/tools/multidimensional_zonal_statistics.py/MultidimensionalZonalStatistics.calculate_statistic