'Given a text, generates the sentences in that text by only
testing candidate sentence breaks. If realign_boundaries is
True, includes in the sentence closing punctuation that
follows the period.'

def sentences_from_text(self, text, realign_boundaries=True):

    return [text[s:e] for (s, e) in self.span_tokenize(text, realign_boundaries)]
