blob: 39d2b3b1c54d6e436fe25ab8394342ed52f5613b (
plain)
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
77
78
79
80
81
82
83
84
|
# Test runs
## Using --min-cluster-size
Skipping writes of single element clusters cuts clustering from ~42h to ~22h.
```
$ time zstdcat -T0 release_export_expanded.json.zst | \
TMPDIR=/bigger/tmp python -m fuzzycat cluster --min-cluster-size 2 \
--tmpdir /bigger/tmp -t tsandcrawler | \
zstd -c9 > cluster_tsandcrawler_min_cluster_size_2.json.zst
...
max cluster size cut off for: 雜報その1
max cluster size cut off for: 雜録
2020-11-27 18:31:39.825 DEBUG __main__ - run_cluster: {"key_fail": 0, "key_ok":
154202433, "key_empty": 942, "key_denylist": 0, "num_clusters": 11763096}
real 1328m46.994s
user 1088m6.837s
sys 98m17.501s
```
We find 11763096 clusters, 16GB compressed (zstdcat takes about 5min,
sequential read at 50M/s).
```
$ time zstdcat -T0 cluster_tsandcrawler_min_cluster_size_2.json.zst | \
python -m fuzzycat verify | \
zstd -T0 -c9 > cluster_tsandcrawler_min_cluster_size_2_verify.tsv.zst
```
The cluster size distribution is:
```
9086522 2
1486742 3
506125 4
211335 5
126678 6
67592 7
47085 8
32587 9
23975 10
19153 11
16318 12
12167 100
12051 13
10345 14
8687 15
7418 16
6655 17
6451 18
5233 19
4865 20
...
```
Preliminary case distribution:
```
873893 Miss.CONTRIB_INTERSECTION_EMPTY
868706 OK.TITLE_AUTHOR_MATCH
756772 OK.SLUG_TITLE_AUTHOR_MATCH
750479 OK.DUMMY
550788 Miss.YEAR
358124 OK.FIGSHARE_VERSION
309346 OK.ARXIV_VERSION
258631 Miss.BOOK_CHAPTER
257028 Miss.DATASET_DOI
208525 OK.DATACITE_RELATED_ID
178348 OK.TOKENIZED_AUTHORS
150066 Miss.RELEASE_TYPE
66421 Miss.COMPONENT
63089 Miss.SUBTITLE
54753 OK.PREPRINT_PUBLISHED
47314 Miss.SHORT_TITLE
3317 OK.DOI
1301 Miss.APPENDIX
950 Miss.BLACKLISTED_FRAGMENT
867 Miss.BLACKLISTED
176 Miss.TITLE_FILENAME
22 Miss.NUM_DIFF
1
```
|