def METHOD_NAME(self, text):
    """Segment the provided text into sentences."""
    self.tokenizer.setText(text)
    is_another = True
    sentences = []
    while is_another:
        u_sentence = Sentence()
        is_another = self.tokenizer.nextSentence(u_sentence)
        if is_another:
            sentences.append(u_sentence.getText())
    return sentences