def __init__(self, queries, corpus, keywords, keyword_types, run_date, run_results_file, articles): self.queries = queries self.index, self.dlt = build_data_structures(corpus) self.keywords = keywords self.keyword_types = keyword_types self.run_date = run_date self.run_results_file = run_results_file self.file_runtime = run_date.strftime("%Y%m%d%H%M%S") # what to use as the link base self.articles = articles
def __init__(self, queries, corpus): self.queries = queries self.index, self.dlt = build_data_structures(corpus)
def __init__(self, queries, corpus, dev_candidates=None): self.queries = queries self.index, self.dlt = build_data_structures(corpus) self.dev_candidates = dev_candidates
def __init__(self, queries, corpus): self.queries = queries self.index, self.dlt = build_data_structures(corpus)