#NEWLINE# def span_tokenize( self , text ) : #NEWLINE# #INDENT# '\n        Given a text, returns a list of the (start, end) spans of sentences in the text.\n        ' #NEWLINE# return [ ( self . start , sl . stop ) for sl in self . _slices_from_text ( text ) ]