Valentin Lievin
commited on
Commit
•
803e0fe
1
Parent(s):
c506ea4
Initial dataset card
Browse files
README.md
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# FindZebra corpus
|
2 |
+
|
3 |
+
A collection of 30.658 curated articles about rare diseases gathered from GARD, GeneReviews, Genetics Home Reference, OMIM, Orphanet, and Wikipedia. Each article is referenced with a Concept Unique Identifier ([CUI](https://www.nlm.nih.gov/research/umls/new_users/online_learning/Meta_005.html)).
|
4 |
+
|
5 |
+
|
6 |
+
## Preprocessing
|
7 |
+
|
8 |
+
The raw HTML has been processed using the following code:
|
9 |
+
|
10 |
+
```python
|
11 |
+
# Preprocessing code
|
12 |
+
import math
|
13 |
+
import html2text
|
14 |
+
parser = html2text.HTML2Text()
|
15 |
+
parser.ignore_links = True
|
16 |
+
parser.ignore_images = True
|
17 |
+
parser.ignore_tables = True
|
18 |
+
parser.ignore_emphasis = True
|
19 |
+
parser.body_width = math.inf
|
20 |
+
|
21 |
+
parser.body_width = math.inf
|
22 |
+
article_text = parser.handle(article_html)
|
23 |
+
```
|