MCPcopy Create free account

hub / github.com/complementizer/wcep-mds-dataset / functions

Functions97 in github.com/complementizer/wcep-mds-dataset

↓ 7 callersMethod_preprocess
(self, articles)
experiments/summarizer.py:42
↓ 7 callersMethod_sent_len
(self, sent, len_type)
experiments/summarizer.py:18
↓ 5 callersMethod_deduplicate
(self, sents)
experiments/summarizer.py:9
↓ 3 callersFunctioncompute_rouge_n
(hyp, ref, rouge_n=1, tokenize=True)
experiments/oracles.py:8
↓ 2 callersMethod_is_redundant
(self, sents, selected, new, max_redundancy)
experiments/summarizer.py:28
↓ 2 callersFunctionextract_date
(date_div)
dataset_generation/step2_process_wcep_html.py:64
↓ 2 callersFunctionprocess_batch
(items, out_path, jobs)
dataset_reproduction/extract_cc_articles.py:91
↓ 2 callersFunctionrecursively_extract_bullets
(e, date, category,
dataset_generation/step2_process_wcep_html.py:76
↓ 1 callersMethod_compute_page_rank
(self, S)
experiments/baselines.py:97
↓ 1 callersFunctionadd_cc_articles_to_clusters
(clusters, cc_path, id_to_cluster_idx, tmp_clusters_path)
dataset_reproduction/combine_and_split.py:29
↓ 1 callersFunctionadd_wcep_articles_to_clusters
(wcep_path, url_to_cluster_idxs, clusters)
dataset_reproduction/combine_and_split.py:20
↓ 1 callersFunctionbatches
(iterable, n=1)
dataset_reproduction/extract_wcep_articles.py:46
↓ 1 callersFunctionbatches
(iterable, n=1)
dataset_generation/step4_scrape_sources.py:50
↓ 1 callersFunctioncleanup_clusters
(path, tmp_path)
dataset_reproduction/combine_and_split.py:69
↓ 1 callersMethodcluster_sentences
(self, X)
experiments/baselines.py:216
↓ 1 callersMethodcompute_summary_coverage
(self, alpha, summary_indices,
experiments/baselines.py:229
↓ 1 callersMethodcompute_summary_diversity
(self, summary_indices, ix_to_label,
experiments/baselines.py:241
↓ 1 callersFunctiondownload_cc_file
(cc_path, local_cc_path)
dataset_reproduction/extract_cc_articles.py:32
↓ 1 callersFunctionevaluate
(ref_summaries, pred_summaries, lowercase=False)
experiments/evaluate.py:19
↓ 1 callersFunctionextract_month_urls
()
dataset_generation/step1_store_wcep_html.py:9
↓ 1 callersMethodfix_glued_sents
(self, text)
experiments/sent_splitter.py:14
↓ 1 callersMethodfix_line_broken_sents
(self, sents)
experiments/sent_splitter.py:17
↓ 1 callersFunctionget_article_to_cluster_mappings
(clusters)
dataset_reproduction/combine_and_split.py:9
↓ 1 callersFunctionget_record_id
(record)
dataset_reproduction/extract_cc_articles.py:22
↓ 1 callersFunctionget_record_url
(record)
dataset_reproduction/extract_cc_articles.py:28
↓ 1 callersFunctionload_urls
(path)
dataset_generation/step4_scrape_sources.py:56
↓ 1 callersFunctionload_urls
(path)
dataset_generation/step5_combine_dataset.py:5
↓ 1 callersFunctionmain
(args)
experiments/oracles.py:203
↓ 1 callersFunctionmain
(args)
experiments/evaluate.py:97
↓ 1 callersFunctionmain
(args)
dataset_reproduction/combine_and_split.py:100
↓ 1 callersFunctionmain
(args)
dataset_reproduction/extract_wcep_articles.py:63
↓ 1 callersFunctionmain
(args)
dataset_reproduction/extract_cc_articles.py:137
↓ 1 callersFunctionmain
(args)
dataset_generation/step1_store_wcep_html.py:19
↓ 1 callersFunctionmain
(args)
dataset_generation/step4_scrape_sources.py:66
↓ 1 callersFunctionmain
(args)
dataset_generation/step2_process_wcep_html.py:168
↓ 1 callersFunctionmain
(args)
dataset_generation/step5_combine_dataset.py:18
↓ 1 callersFunctionmain
(args)
dataset_generation/step3_snapshot_source_urls.py:37
↓ 1 callersFunctionmake_month_to_int
()
dataset_generation/step2_process_wcep_html.py:12
↓ 1 callersFunctionmute_other_loggers
()
dataset_reproduction/extract_cc_articles.py:130
↓ 1 callersMethodoptimize
(self, sents, max_len, len_type, ix_to_lab
experiments/baselines.py:257
↓ 1 callersFunctionparse_logged_cc_file
(line)
dataset_reproduction/extract_cc_articles.py:114
↓ 1 callersFunctionparse_logged_record_ids
(line)
dataset_reproduction/extract_cc_articles.py:108
↓ 1 callersFunctionprint_mean
(results, rouge_types)
experiments/evaluate.py:8
↓ 1 callersFunctionprocess_month_page_2004_to_2017
(html)
dataset_generation/step2_process_wcep_html.py:128
↓ 1 callersFunctionprocess_month_page_from_2018
(html)
dataset_generation/step2_process_wcep_html.py:143
↓ 1 callersFunctionread_article_ids
(path, max_cluster_size)
dataset_reproduction/extract_cc_articles.py:49
↓ 1 callersFunctionread_input
(path)
dataset_reproduction/extract_wcep_articles.py:52
↓ 1 callersFunctionread_jsonl
(path)
dataset_generation/step3_snapshot_source_urls.py:10
↓ 1 callersFunctionread_jsonl_gen
(path)
experiments/utils.py:25
↓ 1 callersFunctionread_log
(path)
dataset_reproduction/extract_cc_articles.py:118
↓ 1 callersFunctionread_warc_gz
(path)
dataset_reproduction/extract_cc_articles.py:14
↓ 1 callersFunctionsplit_dataset
(outdir, tmp_clusters_path)
dataset_reproduction/combine_and_split.py:60
↓ 1 callersMethodsplit_sents
(self, text)
experiments/sent_splitter.py:23
↓ 1 callersMethodsummarize
(self, ref, articles, max_len=40, len_
experiments/oracles.py:56
↓ 1 callersMethodto_json_dict
(self)
dataset_generation/step2_process_wcep_html.py:44
↓ 1 callersFunctionwiki_link_to_id
(s)
dataset_generation/step2_process_wcep_html.py:72
↓ 1 callersFunctionwrite_articles
(articles, path)
dataset_generation/step4_scrape_sources.py:44
Method__init__
(self, title, sents)
experiments/data.py:7
Method__init__
(self, text, words, position, is_title=False)
experiments/data.py:19
Method__init__
(self, rouge_n=1, metric='f', early_stopping=True)
experiments/oracles.py:50
Method__init__
(self, rouge_n=1, metric='f', early_stopping=True)
experiments/oracles.py:123
Method__init__
(self, rouge_n=1, metric='f')
experiments/oracles.py:157
Method__init__
(self, max_redundancy=0.5)
experiments/baselines.py:94
Method__init__
(self, max_redundancy=0.5)
experiments/baselines.py:152
Method__init__
(self, a=5, div_weight=6, cluster_factor=0.2)
experiments/baselines.py:211
Method__init__
(self, text, id, date, category=None, stories=None, wiki_links=None, references=None)
dataset_generation/step2_process_wcep_html.py:28
Method__len__
(self)
experiments/data.py:26
Method_preprocess_sents
(self, raw_sents)
experiments/summarizer.py:67
Functionargs_to_summarize_settings
(args)
experiments/utils.py:77
Functiondump_pkl
(obj, path)
experiments/utils.py:72
Functionevaluate_from_path
(dataset_path, pred_path, start, stop, lowercase=False)
experiments/evaluate.py:54
Functionextract_article
(todo_article)
dataset_reproduction/extract_wcep_articles.py:12
Functionextract_article
(item)
dataset_reproduction/extract_cc_articles.py:63
Functionfile_to_date
(path)
dataset_generation/step2_process_wcep_html.py:159
Functionload_pkl
(path)
experiments/utils.py:66
Functionread_json
(path)
experiments/utils.py:12
Functionread_jsonl
(path, load=False, start=0, stop=None)
experiments/utils.py:23
Functionread_jsonl
(path)
dataset_reproduction/utils.py:10
Functionread_jsonl_gz
(path)
experiments/utils.py:39
Functionread_lines
(path)
experiments/utils.py:6
Functionread_lines
(path)
dataset_reproduction/utils.py:4
Functionscrape_article
(url)
dataset_generation/step4_scrape_sources.py:13
Methodsummarize
(self, articles, max_len=40, len_type='words',
experiments/summarizer.py:78
Methodsummarize
(self, ref, articles, max_len=40, len_
experiments/oracles.py:128
Methodsummarize
(self, ref, articles, max_len=40, len_
experiments/oracles.py:162
Methodsummarize
(self, articles, max_len=40, len_type='words',
experiments/baselines.py:19
Methodsummarize
(self, articles, max_len=40, len_type='words',
experiments/baselines.py:57
Methodsummarize
(self, articles, max_len=40, len_type='words',
experiments/baselines.py:104
Methodsummarize
(self, articles, max_len=40, len_type='words',
experiments/baselines.py:155
Methodsummarize
(self, articles, max_len=40, len_type='words',
experiments/baselines.py:311
Methodunglue
(self, x)
experiments/sent_splitter.py:9
Functionurl_to_time
(url, month_to_num)
dataset_generation/step2_process_wcep_html.py:56
Methodwords
(self)
experiments/data.py:11
Functionwrite_json
(object, path)
experiments/utils.py:18
Functionwrite_jsonl
(items, path, batch_size=100, override=True)
experiments/utils.py:45
Functionwrite_jsonl
(items, path, mode='a')
dataset_reproduction/utils.py:16
Functionwrite_jsonl
(items, path, batch_size=100, override=True)
dataset_generation/step3_snapshot_source_urls.py:16