Update README.md
Browse files
README.md
CHANGED
@@ -29,3 +29,95 @@ configs:
|
|
29 |
- split: test
|
30 |
path: data/test-*
|
31 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
- split: test
|
30 |
path: data/test-*
|
31 |
---
|
32 |
+
|
33 |
+
|
34 |
+
Created from the three datasets `wikiann`, `norne`, `dane`, and `KBLab/sucx3_ner`.
|
35 |
+
|
36 |
+
See detailed config below:
|
37 |
+
|
38 |
+
```python
|
39 |
+
dataset_ids = [
|
40 |
+
"wikiann",
|
41 |
+
"dane",
|
42 |
+
"norne",
|
43 |
+
"KBLab/sucx3_ner"
|
44 |
+
]
|
45 |
+
|
46 |
+
dataset_subsets = {
|
47 |
+
"wikiann": [
|
48 |
+
"nn", "no", "da", "sv", "fo", "is"
|
49 |
+
],
|
50 |
+
"dane": [None],
|
51 |
+
"norne": ["combined-7"],
|
52 |
+
"KBLab/sucx3_ner": ["original_cased"]
|
53 |
+
}
|
54 |
+
```
|
55 |
+
|
56 |
+
Unified to the following BIO-scheme:
|
57 |
+
|
58 |
+
|
59 |
+
```
|
60 |
+
# O: 0
|
61 |
+
# B-PER: 1
|
62 |
+
# I-PER: 2
|
63 |
+
# B-ORG: 3
|
64 |
+
# I-ORG: 4
|
65 |
+
# B-LOC: 5
|
66 |
+
# I-LOC: 6
|
67 |
+
# B-MISC: 7
|
68 |
+
# I-MISC: 8
|
69 |
+
|
70 |
+
mappers = {
|
71 |
+
"norne": {
|
72 |
+
0: 0,
|
73 |
+
1: 1,
|
74 |
+
2: 2,
|
75 |
+
3: 3,
|
76 |
+
4: 4,
|
77 |
+
# PROD->MISC
|
78 |
+
5: 7,
|
79 |
+
6: 8,
|
80 |
+
# LOC -> LOC
|
81 |
+
7: 5,
|
82 |
+
8: 6,
|
83 |
+
# DRV -> MISC (names, but derived)
|
84 |
+
9: 7,
|
85 |
+
10: 8,
|
86 |
+
# EVT -> MISC (events)
|
87 |
+
11: 7,
|
88 |
+
12: 8,
|
89 |
+
# MISC -> MISC
|
90 |
+
13: 7,
|
91 |
+
14: 8,
|
92 |
+
},
|
93 |
+
"KBLab/sucx3_ner": {
|
94 |
+
"O": 0,
|
95 |
+
# PER
|
96 |
+
"B-person": 1,
|
97 |
+
"I-person": 2,
|
98 |
+
# LOC
|
99 |
+
"B-place": 5,
|
100 |
+
"I-place": 6,
|
101 |
+
# ORG
|
102 |
+
"I-inst": 4,
|
103 |
+
"B-inst": 3,
|
104 |
+
# MISC
|
105 |
+
# this is considered a 'work' by someone or something
|
106 |
+
"B-work": 7,
|
107 |
+
"I-work": 8,
|
108 |
+
"B-animal": 7,
|
109 |
+
"I-animal": 8,
|
110 |
+
"B-product": 7,
|
111 |
+
"I-product": 8,
|
112 |
+
"B-event": 7,
|
113 |
+
"I-event": 8,
|
114 |
+
"B-other": 7,
|
115 |
+
"I-other": 8,
|
116 |
+
# mythological
|
117 |
+
"B-myth": 7,
|
118 |
+
"I-myth": 8,
|
119 |
+
},
|
120 |
+
}
|
121 |
+
|
122 |
+
|
123 |
+
```
|