Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

src/c/a/causeofwhy-HEAD/causeofwhy/wiki_dump_reader.py   causeofwhy(Download)
 
# Project modules
from indexer import (LINE_SEPARATOR, PARAGRAPH_SEPARATOR, sent_detector,
                     tokenizer, regularize, page_length_limit)
 
    def segment_sentences(self):
        """Segment the Paragraph text into a list of sentences."""
        # Sentence segmentation
        if LINE_SEPARATOR in self.text:
            self.sentences = [sent for sent in self.text.split(LINE_SEPARATOR)]