def max_sentence_length(self, text):
    ' count and return the maximum length\n        of sentences list '
    all_senteces = self.sentence_split(text)
    try:
        return max(list(map(len, all_senteces)))
    except Exception as e:
        print(e)
        return 0
count and return the maximum length
of sentences list
def max_sentence_length(self, text):
    ' count and return the maximum length\n        of sentences list '
    all_senteces = self.sentence_split(text)
    try:
        return max(list(map(len, all_senteces)))
    except Exception as e:
        print(e)
        return 0