-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatasets_config.py
More file actions
76 lines (68 loc) · 2.57 KB
/
datasets_config.py
File metadata and controls
76 lines (68 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
small_sizes = [200, 100, 50, 10, 1]
# Root of tudocomp provided mirrors of datasets
TDC_URL = "dolomit.cs.uni-dortmund.de/tudocomp"
# TODO: This server went offline
# Only he-graph has an existing 200mb prefix on loebels system
# TODO: Need to upload to our server
# HashTag Datasets, see http://acube.di.unipi.it/datasets/
#ACUBE_URL = "http://acube.di.unipi.it/repo/he-graph"
#download_and_extract("hashtag", small_sizes, [
# ACUBE_URL + "/graph/he-graph.txt.gz",
# ACUBE_URL + "/relatedness/pairs.tsv",
# ACUBE_URL + "/classification/crowdflower.tsv",
#])
# ASCII-only, no inner null commoncrawl.org extract
download_and_extract("cc", small_sizes, [
TDC_URL + "/commoncrawl.ascii.xz"
])
download_and_extract("chr19", small_sizes, [
TDC_URL + "/chr19.10.fa.xz"
])
# Pizza&Chili Corpus text collection
PC_URL = "http://pizzachili.dcc.uchile.cl"
download_and_extract("pc", small_sizes, [
TDC_URL + "/pc/sources.xz",
TDC_URL + "/pc/pitches.xz",
TDC_URL + "/pc/proteins.xz",
TDC_URL + "/pc/dna.xz",
TDC_URL + "/pc/english.xz",
TDC_URL + "/pc/dblp.xml.xz",
])
download_and_extract("pcr", small_sizes, [
TDC_URL + "/pc-pseudo-real/english.001.2.xz",
TDC_URL + "/pc-pseudo-real/dblp.xml.00001.1.xz",
TDC_URL + "/pc-pseudo-real/dblp.xml.00001.2.xz",
TDC_URL + "/pc-pseudo-real/dblp.xml.0001.1.xz",
TDC_URL + "/pc-pseudo-real/dblp.xml.0001.2.xz",
TDC_URL + "/pc-pseudo-real/dna.001.1.xz",
TDC_URL + "/pc-pseudo-real/english.001.2.xz",
TDC_URL + "/pc-pseudo-real/proteins.001.1.xz",
TDC_URL + "/pc-pseudo-real/sources.001.2.xz",
TDC_URL + "/pc-real/cere.xz",
TDC_URL + "/pc-real/coreutils.xz",
TDC_URL + "/pc-real/einstein.de.txt.xz",
TDC_URL + "/pc-real/einstein.en.txt.xz",
TDC_URL + "/pc-real/Escherichia_Coli.xz",
TDC_URL + "/pc-real/influenza.xz",
TDC_URL + "/pc-real/kernel.xz",
TDC_URL + "/pc-real/para.xz",
TDC_URL + "/pc-real/world_leaders.xz",
TDC_URL + "/pc-artificial/fib41.xz",
TDC_URL + "/pc-artificial/rs.13.xz",
TDC_URL + "/pc-artificial/tm29.xz",
])
# # TAGME Datasets, see http://acube.di.unipi.it/datasets/
# download_and_extract("tagme", small_sizes, [
# TDC_URL + "/wiki-annot30.gz",
# TDC_URL + "/wiki-disamb30.gz",
# ])
#
# # TagMyNews Datasets, see http://acube.di.unipi.it/datasets/
# download_and_extract("tagmynews", small_sizes, [
# TDC_URL + "/news.gz",
# TDC_URL + "/data-web-snippets.tar.gz",
# ])
# ASCII-only Wikipedia excerpt from the "10.000 most vital articles" project
download_and_extract("wiki", small_sizes, [
TDC_URL + "/all_vital.txt.xz",
])