Update README.md
Browse files
README.md
CHANGED
@@ -2,8 +2,49 @@
|
|
2 |
license: mit
|
3 |
language:
|
4 |
- ru
|
|
|
|
|
5 |
size_categories:
|
6 |
- 10K<n<100K
|
7 |
---
|
8 |
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: mit
|
3 |
language:
|
4 |
- ru
|
5 |
+
- en
|
6 |
+
- fr
|
7 |
size_categories:
|
8 |
- 10K<n<100K
|
9 |
---
|
10 |
|
11 |
+
# Paragraph dataset
|
12 |
+
|
13 |
+
Dataset for a lines classifier that predicts the beginning of a new paragraph (see [paragraph classifier](https://huggingface.co/dedoc/paragraph_classifier)).
|
14 |
+
|
15 |
+
The repository structure:
|
16 |
+
```
|
17 |
+
└─paragraph_dataset
|
18 |
+
├─labeling
|
19 |
+
├─paragraph_classifier_834997.zip
|
20 |
+
└─results
|
21 |
+
├─law_classifier_000000_AKs.json
|
22 |
+
├─ ...
|
23 |
+
└─law_classifier_000049_d9X.json
|
24 |
+
├─.gitattributes
|
25 |
+
├─README.md
|
26 |
+
└─paragraph_dataset.zip
|
27 |
+
```
|
28 |
+
|
29 |
+
`labeling` directory contains tasks for labeling (`paragraph_classifier_834997.zip`) and labeled lines (`results` directory).
|
30 |
+
`paragraph_dataset.zip` contains files with the resilting dataset.
|
31 |
+
|
32 |
+
Tasks for labeling are formed using [dedoc labeling API](https://github.com/ispras/dedoc/tree/master/labeling).
|
33 |
+
See [dedoc documentation](https://dedoc.readthedocs.io/en/latest/tutorials/add_new_structure_type/dataset_creation.html) for more details.
|
34 |
+
|
35 |
+
The structure of the `paragraph_dataset.zip` archive after unzipping goes as follows:
|
36 |
+
```
|
37 |
+
└─paragraph_dataset
|
38 |
+
└─labeled.json
|
39 |
+
├─parameters.json
|
40 |
+
├─task_manager.log
|
41 |
+
└─original_documents
|
42 |
+
├─1709714642_887.png
|
43 |
+
├─ ...
|
44 |
+
└─1709714823_806.pdf
|
45 |
+
```
|
46 |
+
|
47 |
+
* `labeled.json` contains lines with their labels. For each line, line's text, metadata and formatting are extracted by [dedoc](https://github.com/ispras/dedoc).
|
48 |
+
* `parameters.json` contains `dedoc` parameters using which lines were extracted.
|
49 |
+
* `task_manager.log` contains logs from labeling process.
|
50 |
+
* `original_documents` folder contains documets from which lines were extracted.
|