def get_sentences(self, sent_segm):
        #returns one sentence
        id = self.get_segm_id(sent_segm[0])
        segm = self.text_view.segm_dict[id]    #text segment
        beg = self.get_sent_beg(sent_segm[0])
        end = self.get_sent_end(sent_segm[1-len(sent_segm)])
        return segm[beg:end]
dataset/ETHPy150Open nltk/nltk/nltk/corpus/reader/nkjp.py/NKJPCorpus_Segmentation_View.get_sentences/swapped operands of `-`