Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Finepdfs filtered using this code:
|
| 2 |
+
```
|
| 3 |
+
def my_filter(example):
|
| 4 |
+
lscore = example["page_average_lid_score"]*example["full_doc_lid_score"] > 0.85*0.85
|
| 5 |
+
lenglish = example["language"] == "eng_Latn" and example["page_average_lid"] == "eng_Latn" and example["full_doc_lid"] == "eng_Latn"
|
| 6 |
+
fwscore = (sum(example["fw_edu_scores"])/len(example["fw_edu_scores"])) > 3
|
| 7 |
+
return lscore and lenglish and fwscore
|
| 8 |
+
```
|