starride-teklia commited on
Commit
e6b57fd
1 Parent(s): 4532d24

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +108 -65
README.md CHANGED
@@ -1,65 +1,108 @@
1
- ---
2
- license: mit
3
- dataset_info:
4
- features:
5
- - name: newspaper_name
6
- dtype: string
7
- - name: newspaper_arkindex_id
8
- dtype: string
9
- - name: page_arkindex_id
10
- dtype: string
11
- - name: page_index
12
- dtype: int64
13
- - name: page_image
14
- dtype: image
15
- - name: zone_arkindex_ids
16
- sequence: string
17
- - name: zone_polygons
18
- sequence:
19
- sequence:
20
- sequence: float64
21
- - name: zone_texts
22
- sequence: string
23
- - name: zone_classes
24
- sequence:
25
- class_label:
26
- names:
27
- '0': HEADER-TITLE
28
- '1': HEADER-TEXT
29
- '2': ARTICLE-ILLUSTRATION
30
- '3': ADVERTISEMENT
31
- '4': ANNOUNCEMENT
32
- '5': ARTICLE-TITLE
33
- '6': ARTICLE-TEXT
34
- '7': ARTICLE-SUBTITLE
35
- '8': ARTICLE-INSIDEHEADING
36
- '9': CAPTION
37
- '10': AUTHOR
38
- '11': ARTICLE-TABLE
39
- '12': SECTION-TITLE
40
- - name: zone_orders
41
- sequence: int64
42
- - name: article_id
43
- sequence: int64
44
- splits:
45
- - name: train
46
- num_bytes: 911036067.0
47
- num_examples: 623
48
- - name: val
49
- num_bytes: 75099123.0
50
- num_examples: 50
51
- - name: test
52
- num_bytes: 71901518.0
53
- num_examples: 48
54
- download_size: 1038604332
55
- dataset_size: 1058036708.0
56
- configs:
57
- - config_name: default
58
- data_files:
59
- - split: train
60
- path: data/train-*
61
- - split: val
62
- path: data/val-*
63
- - split: test
64
- path: data/test-*
65
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ dataset_info:
4
+ features:
5
+ - name: newspaper_name
6
+ dtype: string
7
+ - name: newspaper_arkindex_id
8
+ dtype: string
9
+ - name: page_arkindex_id
10
+ dtype: string
11
+ - name: page_index
12
+ dtype: int64
13
+ - name: page_image
14
+ dtype: image
15
+ - name: zone_arkindex_ids
16
+ sequence: string
17
+ - name: zone_polygons
18
+ sequence:
19
+ sequence:
20
+ sequence: float64
21
+ - name: zone_texts
22
+ sequence: string
23
+ - name: zone_classes
24
+ sequence:
25
+ class_label:
26
+ names:
27
+ '0': HEADER-TITLE
28
+ '1': HEADER-TEXT
29
+ '2': ARTICLE-ILLUSTRATION
30
+ '3': ADVERTISEMENT
31
+ '4': ANNOUNCEMENT
32
+ '5': ARTICLE-TITLE
33
+ '6': ARTICLE-TEXT
34
+ '7': ARTICLE-SUBTITLE
35
+ '8': ARTICLE-INSIDEHEADING
36
+ '9': CAPTION
37
+ '10': AUTHOR
38
+ '11': ARTICLE-TABLE
39
+ '12': SECTION-TITLE
40
+ - name: zone_orders
41
+ sequence: int64
42
+ - name: article_id
43
+ sequence: int64
44
+ splits:
45
+ - name: train
46
+ num_bytes: 911036067.0
47
+ num_examples: 623
48
+ - name: val
49
+ num_bytes: 75099123.0
50
+ num_examples: 50
51
+ - name: test
52
+ num_bytes: 71901518.0
53
+ num_examples: 48
54
+ download_size: 1038604332
55
+ dataset_size: 1058036708.0
56
+ configs:
57
+ - config_name: default
58
+ data_files:
59
+ - split: train
60
+ path: data/train-*
61
+ - split: val
62
+ path: data/val-*
63
+ - split: test
64
+ path: data/test-*
65
+ ---
66
+
67
+ # Newspaper segmentation dataset: Finlam
68
+
69
+ ## Dataset Description
70
+
71
+ - **Homepage:** [Finlam](https://finlam.projets.litislab.fr/)
72
+ - **Point of Contact:** [TEKLIA](https://teklia.com)
73
+
74
+ ## Dataset Summary
75
+
76
+ The Finlam dataset includes 149 French newspapers from the 19th to 20th centuries.
77
+
78
+ Each newspaper contains multiple pages. Page images are resized to a fixed height of 2000 pixels.
79
+
80
+ Each page contains multiple zones, with different information such as polygon, text, class, and order.
81
+
82
+ ### Split
83
+
84
+ | set | images | newspapers |
85
+ | ----- | ------:| ----------:|
86
+ | train | 623 | 129 |
87
+ | val | 50 | 10 |
88
+ | test | 48 | 10 |
89
+
90
+ ### Languages
91
+
92
+ Most newspapers in the dataset are French, some English.
93
+
94
+ ## Dataset Structure
95
+
96
+ ### Data Fields
97
+
98
+ - `newspaper_name`: The name of the newspaper.
99
+ - `newspaper_arkindex_id`: The Arkindex element id corresponding to the current newspaper.
100
+ - `page_arkindex_id`: The Arkindex element id corresponding to the current page.
101
+ - `page_index`: The index of the current page in the current newspaper.
102
+ - `page_image`: a PIL.Image object containing the page image. Note that when accessing the image column (using dataset[0]["page_image"]), the image file is automatically decoded. Decoding of a large number of image files might take a significant amount of time. Thus it is important to first query the sample index before the "image" column, i.e. dataset[0]["page_image"] should always be preferred over dataset["page_image"][0].
103
+ - `zone_arkindex_ids`: the list of Arkindex element ids corresponding to the zones in the page.
104
+ - `zone_polygons`: the list of zone coordinates in the current page.
105
+ - `zone_texts`: the list of zone texts in the current page.
106
+ - `zone_classes`: the list of zone classes in the current page.
107
+ - `zone_orders`: the list of zone indexes in the current page, defining the reading order.
108
+ - `article_id`: the list of article indexes defining in which article in the current newspaper the current zone is located.