Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  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)
 
        for i, para in enumerate(self.paragraphs):
            for j, sent in enumerate(para.sentence_tokens):
                self.paragraphs[i].sentence_tokens[j] = regularize(sent)
            # Remove empty sentences
            self.paragraphs[i].sentence_tokens = [x for x in self.

src/c/a/causeofwhy-HEAD/causeofwhy/answer_engine.py   causeofwhy(Download)
        self.answers = None
        # Candidate Document Selection
        self.ir_query = indexer.regularize(indexer.tokenizer.tokenize(query))
        self.ir_query_tagged = None
        page_sim = index.ranked(self.ir_query)
            match = False
            term_related = []
            for i, page_term in enumerate(indexer.regularize(raw_tokens)):
                page_term_related = ans_eng.related_values(synsets, page_term)
                if page_term_related: