Marianna Nezhurina
commited on
Commit
·
d56440e
1
Parent(s):
cc2f35a
add readme
Browse files
README.md
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# PDF extraction pipeline
|
2 |
+
|
3 |
+
[GitHub](https://github.com/marianna13/PDF_extraction)
|
4 |
+
|
5 |
+
|
6 |
+
# Some stats for random 10 WAT files from CC
|
7 |
+
|
8 |
+
## Stats for links
|
9 |
+
|
10 |
+
+-------------------+
|
11 |
+
|Number of PDF links|
|
12 |
+
+------------------+
|
13 |
+
| 131379|
|
14 |
+
+-------------------+
|
15 |
+
|
16 |
+
+-------------------------+
|
17 |
+
| Number of working|
|
18 |
+
|PDF links from 10k sample|
|
19 |
+
+-------------------------+
|
20 |
+
| 3904|
|
21 |
+
+-------------------------+
|
22 |
+
|
23 |
+
+--------------+
|
24 |
+
|sum(num_words)|
|
25 |
+
+--------------+
|
26 |
+
| 384953|
|
27 |
+
+--------------+
|
28 |
+
|
29 |
+
+---------------+
|
30 |
+
|sum(num_tokens)|
|
31 |
+
+---------------+
|
32 |
+
| 715422|
|
33 |
+
+---------------+
|
34 |
+
|
35 |
+
+-----------------+
|
36 |
+
| avg(num_words)|
|
37 |
+
+-----------------+
|
38 |
+
|6999.145454545454|
|
39 |
+
+-----------------+
|
40 |
+
|
41 |
+
+------------------+
|
42 |
+
| avg(num_tokens)|
|
43 |
+
+------------------+
|
44 |
+
|13007.672727272728|
|
45 |
+
+------------------+
|
46 |
+
|
47 |
+
## Stats for extracted data (for 100 random URLs)
|
48 |
+
|
49 |
+
**1 process**:
|
50 |
+
|
51 |
+
| total_processing_time | total_writing_time | No error | FSTimeoutError | FileDataError cannot open broken document | Empty doc | ValueError Protocol not known: "http | TypeError _request() got an unexpected keyword argument 'target_options' | FileNotFoundError |
|
52 |
+
|------------------------:|---------------------:|-----------:|------------------:|--------------------------------------------:|------------:|---------------------------------------:|---------------------------------------------------------------------------:|--------------------:|
|
53 |
+
| 0 | 147 | 54 | 17 | 11 | 8 | 2 | 1 | 7 |
|
54 |
+
|
55 |
+
|
56 |
+
**5 process**:
|
57 |
+
|
58 |
+
| total_processing_time | total_writing_time | No error | FSTimeoutError | FileDataError cannot open broken document | Empty doc | ValueError Protocol not known: "http | FileNotFoundError | TypeError _request() got an unexpected keyword argument 'target_options' |
|
59 |
+
|------------------------:|---------------------:|-----------:|------------------:|--------------------------------------------:|------------:|---------------------------------------:|--------------------:|---------------------------------------------------------------------------:|
|
60 |
+
| 0 | 144 | 53 | 17 | 12 | 8 | 2 | 7 | 1 |
|
61 |
+
|
62 |
+
**10 process**:
|
63 |
+
|
64 |
+
| total_processing_time | total_writing_time | No error | FSTimeoutError | Empty doc | FileDataError cannot open broken document | FileNotFoundError | TypeError _request() got an unexpected keyword argument 'target_options' | ValueError Protocol not known: "http |
|
65 |
+
|------------------------:|---------------------:|-----------:|------------------:|------------:|--------------------------------------------:|--------------------:|---------------------------------------------------------------------------:|---------------------------------------:|
|
66 |
+
| 0 | 149 | 55 | 17 | 8 | 12 | 5 | 1 | 2 |
|