from nltk.stem import PorterStemmer

class Stemmer:
    def __init__(self):
        self.stemmer = PorterStemmer()


    def stem_list(self, listStem):
        """
        This function stem a token
        :param token: string of a token
        :return: stemmed token
        """
        for wordInx in range(len(listStem)):
            word = listStem[wordInx]
            if word.upper() != word:
                listStem[wordInx] = self.stemmer.stem(word)
        return listStem


    def isfloat(value):
        if(value[0] == 'i' or value[0] == 'I'):
            return False
        try:
            float(value)
            return True
        except ValueError:
            return False
94bc3807735615d2cb4bb5ad7deb27bbe7531ac6
<mask token>


class Stemmer:
    <mask token>
    <mask token>

    def isfloat(value):
        if value[0] == 'i' or value[0] == 'I':
            return False
        try:
            float(value)
            return True
        except ValueError:
            return False

<mask token>


class Stemmer:
    <mask token>

    def stem_list(self, listStem):
        """
        This function stem a token
        :param token: string of a token
        :return: stemmed token
        """
        for wordInx in range(len(listStem)):
            word = listStem[wordInx]
            if word.upper() != word:
                listStem[wordInx] = self.stemmer.stem(word)
        return listStem

    def isfloat(value):
        if value[0] == 'i' or value[0] == 'I':
            return False
        try:
            float(value)
            return True
        except ValueError:
            return False

<mask token>


class Stemmer:

    def __init__(self):
        self.stemmer = PorterStemmer()

    def stem_list(self, listStem):
        """
        This function stem a token
        :param token: string of a token
        :return: stemmed token
        """
        for wordInx in range(len(listStem)):
            word = listStem[wordInx]
            if word.upper() != word:
                listStem[wordInx] = self.stemmer.stem(word)
        return listStem

    def isfloat(value):
        if value[0] == 'i' or value[0] == 'I':
            return False
        try:
            float(value)
            return True
        except ValueError:
            return False

from nltk.stem import PorterStemmer


class Stemmer:

    def __init__(self):
        self.stemmer = PorterStemmer()

    def stem_list(self, listStem):
        """
        This function stem a token
        :param token: string of a token
        :return: stemmed token
        """
        for wordInx in range(len(listStem)):
            word = listStem[wordInx]
            if word.upper() != word:
                listStem[wordInx] = self.stemmer.stem(word)
        return listStem

    def isfloat(value):
        if value[0] == 'i' or value[0] == 'I':
            return False
        try:
            float(value)
            return True
        except ValueError:
            return False

from nltk.stem import PorterStemmer

class Stemmer:
    def __init__(self):
        self.stemmer = PorterStemmer()


    def stem_list(self, listStem):
        """
        This function stem a token
        :param token: string of a token
        :return: stemmed token
        """
        for wordInx in range(len(listStem)):
            word = listStem[wordInx]
            if word.upper() != word:
                listStem[wordInx] = self.stemmer.stem(word)
        return listStem


    def isfloat(value):
        if(value[0] == 'i' or value[0] == 'I'):
            return False
        try:
            float(value)
            return True
        except ValueError:
            return False