Datasets:
Tasks:
Token Classification
Languages:
Norwegian
Size:
10K<n<100K
ArXiv:
Tags:
structure-prediction
License:
Updating with reduced tag sets for NER
Browse files- README.md +98 -1
- dataset_infos.json +1 -1
- dummy/bokmaal-7/1.0.0/dummy_data.zip +0 -0
- dummy/bokmaal-8/1.0.0/dummy_data.zip +0 -0
- dummy/bokmaal/1.0.0/dummy_data.zip.lock +0 -0
- dummy/combined-7/1.0.0/dummy_data.zip +0 -0
- dummy/combined-8/1.0.0/dummy_data.zip +0 -0
- dummy/combined/1.0.0/dummy_data.zip.lock +0 -0
- dummy/nynorsk-7/1.0.0/dummy_data.zip +0 -0
- dummy/nynorsk-8/1.0.0/dummy_data.zip +0 -0
- dummy/nynorsk/1.0.0/dummy_data.zip.lock +0 -0
- norne.py +129 -38
- norne.py.lock +0 -0
README.md
CHANGED
@@ -63,7 +63,102 @@ NorNE ads named entity annotations on top of the Norwegian Dependency Treebank.
|
|
63 |
|
64 |
### Languages
|
65 |
|
66 |
-
Both Norwegian Bokmål (`bookmal`) and Nynorsk (`nynorsk`) are supported as different configs in this dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
## Dataset Creation
|
69 |
|
@@ -132,6 +227,8 @@ The class distribution is as follows, broken down across the data splits of the
|
|
132 |
| `EVT` | 131 | 9 | 5 | 145 |
|
133 |
| `MISC` | 8 | 0 | 0 | 0 |
|
134 |
|
|
|
|
|
135 |
## Additional Information
|
136 |
|
137 |
### Dataset Curators
|
|
|
63 |
|
64 |
### Languages
|
65 |
|
66 |
+
Both Norwegian Bokmål (`bookmal`) and Nynorsk (`nynorsk`) are supported as different configs in this dataset. An extra config for the combined languages is also included (`combined`). See the Annotation section for details on accessing reduced tag sets for the NER feature.
|
67 |
+
|
68 |
+
## Dataset Structure
|
69 |
+
|
70 |
+
Each entry contains text sentences, their language, identifiers, tokens, lemmas, and corresponding NER and POS tag lists.
|
71 |
+
|
72 |
+
### Data Instances
|
73 |
+
|
74 |
+
An example of the `train` split of the `bokmaal` config.
|
75 |
+
|
76 |
+
```python
|
77 |
+
{'idx': '000001',
|
78 |
+
'lang': 'bokmaal',
|
79 |
+
'lemmas': ['lam', 'og', 'piggvar', 'på', 'bryllupsmeny'],
|
80 |
+
'ner_tags': [0, 0, 0, 0, 0],
|
81 |
+
'pos_tags': [0, 9, 0, 5, 0],
|
82 |
+
'text': 'Lam og piggvar på bryllupsmenyen',
|
83 |
+
'tokens': ['Lam', 'og', 'piggvar', 'på', 'bryllupsmenyen']}
|
84 |
+
```
|
85 |
+
|
86 |
+
### Data Fields
|
87 |
+
|
88 |
+
Each entry is annotated with the next fields:
|
89 |
+
|
90 |
+
- `idx` (`int`), text (sentence) identifier from the NorNE dataset
|
91 |
+
- `lang` (`str`), language variety, either `bookmal`, `nynorsk` or `combined`
|
92 |
+
- `text` (`str`), plain text
|
93 |
+
- `tokens` (`List[str]`), list of tokens extracted from `text`
|
94 |
+
- `lemmas` (`List[str]`), list of lemmas extracted from `tokens`
|
95 |
+
- `ner_tags` (`List[int]`), list of numeric NER tags for each token in `tokens`
|
96 |
+
- `pos_tags` (`List[int]`), list of numeric PoS tags for each token in `tokens`
|
97 |
+
|
98 |
+
An example DataFrame obtained from the dataset:
|
99 |
+
|
100 |
+
<table class="dataframe" border="1">
|
101 |
+
<thead>
|
102 |
+
<tr style="text-align: right;">
|
103 |
+
<th></th>
|
104 |
+
<th>idx</th>
|
105 |
+
<th>lang</th>
|
106 |
+
<th>text</th>
|
107 |
+
<th>tokens</th>
|
108 |
+
<th>lemmas</th>
|
109 |
+
<th>ner_tags</th>
|
110 |
+
<th>pos_tags</th>
|
111 |
+
</tr>
|
112 |
+
</thead>
|
113 |
+
<tbody>
|
114 |
+
<tr>
|
115 |
+
<th>0</th>
|
116 |
+
<td>000001</td>
|
117 |
+
<td>bokmaal</td>
|
118 |
+
<td>Lam og piggvar på bryllupsmenyen</td>
|
119 |
+
<td>[Lam, og, piggvar, på, bryllupsmenyen]</td>
|
120 |
+
<td>[lam, og, piggvar, på, bryllupsmeny]</td>
|
121 |
+
<td>[0, 0, 0, 0, 0]</td>
|
122 |
+
<td>[0, 9, 0, 5, 0]</td>
|
123 |
+
</tr>
|
124 |
+
<tr>
|
125 |
+
<th>1</th>
|
126 |
+
<td>000002</td>
|
127 |
+
<td>bokmaal</td>
|
128 |
+
<td>Kamskjell, piggvar og lammefilet sto på menyen...</td>
|
129 |
+
<td>[Kamskjell, ,, piggvar, og, lammefilet, sto, p...</td>
|
130 |
+
<td>[kamskjell, $,, piggvar, og, lammefilet, stå, ...</td>
|
131 |
+
<td>[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]</td>
|
132 |
+
<td>[0, 1, 0, 9, 0, 15, 2, 0, 2, 8, 6, 0, 1]</td>
|
133 |
+
</tr>
|
134 |
+
<tr>
|
135 |
+
<th>2</th>
|
136 |
+
<td>000003</td>
|
137 |
+
<td>bokmaal</td>
|
138 |
+
<td>Og til dessert: Parfait à la Mette-Marit.</td>
|
139 |
+
<td>[Og, til, dessert, :, Parfait, à, la, Mette-Ma...</td>
|
140 |
+
<td>[og, til, dessert, $:, Parfait, à, la, Mette-M...</td>
|
141 |
+
<td>[0, 0, 0, 0, 7, 8, 8, 8, 0]</td>
|
142 |
+
<td>[9, 2, 0, 1, 10, 12, 12, 10, 1]</td>
|
143 |
+
</tr>
|
144 |
+
</tbody>
|
145 |
+
</table>
|
146 |
+
|
147 |
+
### Data Splits
|
148 |
+
|
149 |
+
There are three splits: `train`, `validation` and `test`.
|
150 |
+
|
151 |
+
| Config | Split | Total |
|
152 |
+
| :---------|-------------:|-------:|
|
153 |
+
| `bokmaal` | `train` | 15696 |
|
154 |
+
| `bokmaal` | `validation` | 2410 |
|
155 |
+
| `bokmaal` | `test` | 1939 |
|
156 |
+
| `nynorsk` | `train` | 14174 |
|
157 |
+
| `nynorsk` | `validation` | 1890 |
|
158 |
+
| `nynorsk` | `test` | 1511 |
|
159 |
+
| `combined`| `test` | 29870 |
|
160 |
+
| `combined`| `validation` | 4300 |
|
161 |
+
| `combined`| `test` | 3450 |
|
162 |
|
163 |
## Dataset Creation
|
164 |
|
|
|
227 |
| `EVT` | 131 | 9 | 5 | 145 |
|
228 |
| `MISC` | 8 | 0 | 0 | 0 |
|
229 |
|
230 |
+
To access these reduce versions of the dataset, you can use the configs `bokmaal-7`, `nynorsk-7`, `combined-7` for the NER tag set with 7 tags ( **`ORG`**, **`LOC`**, `PER`, `PROD`, `EVT`, `DRV`, `MISC`), and `bokmaal-8`, `nynorsk-8`, `combined-8` for the NER tag set with 8 tags (`LOC_` and `ORG_`: **`ORG`**, **`LOC`**, **`GPE`**, `PER`, `PROD`, `EVT`, `DRV`, `MISC`). By default, the full set (9 tags) will be used.
|
231 |
+
|
232 |
## Additional Information
|
233 |
|
234 |
### Dataset Curators
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"bokmaal": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 19, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-GPE_LOC", "I-GPE_LOC", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-GPE_ORG", "I-GPE_ORG", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "bokmaal", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10032169, "num_examples": 15696, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 1501730, "num_examples": 2410, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 1234272, "num_examples": 1939, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-train.conllu": {"num_bytes": 16437262, "checksum": "b17efd70034071f65ba5e3a15bc15f9a597f4c1dd3febb2ffec964906a9c1a98"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-dev.conllu": {"num_bytes": 2453504, "checksum": "dba752ca6dc0c628f7cf12e9131b2627be0dff082bd96311bafce40590c46f9c"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-test.conllu": {"num_bytes": 2018475, "checksum": "ace6fa65758541333e6a64210fa8466145e024cbbab18a156e8757c8b21c103b"}}, "download_size": 20909241, "post_processing_size": null, "dataset_size": 12768171, "size_in_bytes": 33677412}, "nynorsk": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 19, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-GPE_LOC", "I-GPE_LOC", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-GPE_ORG", "I-GPE_ORG", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "nynorsk", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10072260, "num_examples": 14174, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 1278029, "num_examples": 1890, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 1023358, "num_examples": 1511, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-train.conllu": {"num_bytes": 16444176, "checksum": "589564c68ab0763c2574ad90ea8928f029144c966e4af064e59a0865c53c5ef2"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-dev.conllu": {"num_bytes": 2096713, "checksum": "6519a00c0ddc4f8ef2605d7c5326adcafb2dfa2df439e281c95e1a0ef218b928"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-test.conllu": {"num_bytes": 1668364, "checksum": "6b99cafd7019ed6d1eea1b51a0707df89cad597fe588b5987b9f278ffd87588c"}}, "download_size": 20209253, "post_processing_size": null, "dataset_size": 12373647, "size_in_bytes": 32582900}, "combined": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 19, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-GPE_LOC", "I-GPE_LOC", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-GPE_ORG", "I-GPE_ORG", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "combined", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 20104393, "num_examples": 29870, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 2779723, "num_examples": 4300, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 2257594, "num_examples": 3450, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-train.conllu": {"num_bytes": 16437262, "checksum": "b17efd70034071f65ba5e3a15bc15f9a597f4c1dd3febb2ffec964906a9c1a98"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-dev.conllu": {"num_bytes": 2453504, "checksum": "dba752ca6dc0c628f7cf12e9131b2627be0dff082bd96311bafce40590c46f9c"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-test.conllu": {"num_bytes": 2018475, "checksum": "ace6fa65758541333e6a64210fa8466145e024cbbab18a156e8757c8b21c103b"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-train.conllu": {"num_bytes": 16444176, "checksum": "589564c68ab0763c2574ad90ea8928f029144c966e4af064e59a0865c53c5ef2"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-dev.conllu": {"num_bytes": 2096713, "checksum": "6519a00c0ddc4f8ef2605d7c5326adcafb2dfa2df439e281c95e1a0ef218b928"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-test.conllu": {"num_bytes": 1668364, "checksum": "6b99cafd7019ed6d1eea1b51a0707df89cad597fe588b5987b9f278ffd87588c"}}, "download_size": 41118494, "post_processing_size": null, "dataset_size": 25141710, "size_in_bytes": 66260204}}
|
|
|
1 |
+
{"bokmaal": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 19, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-GPE_LOC", "I-GPE_LOC", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-GPE_ORG", "I-GPE_ORG", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "bokmaal", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10032169, "num_examples": 15696, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 1501730, "num_examples": 2410, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 1234272, "num_examples": 1939, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-train.conllu": {"num_bytes": 16437262, "checksum": "b17efd70034071f65ba5e3a15bc15f9a597f4c1dd3febb2ffec964906a9c1a98"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-dev.conllu": {"num_bytes": 2453504, "checksum": "dba752ca6dc0c628f7cf12e9131b2627be0dff082bd96311bafce40590c46f9c"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-test.conllu": {"num_bytes": 2018475, "checksum": "ace6fa65758541333e6a64210fa8466145e024cbbab18a156e8757c8b21c103b"}}, "download_size": 20909241, "post_processing_size": null, "dataset_size": 12768171, "size_in_bytes": 33677412}, "nynorsk": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 19, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-GPE_LOC", "I-GPE_LOC", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-GPE_ORG", "I-GPE_ORG", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "nynorsk", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10072260, "num_examples": 14174, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 1278029, "num_examples": 1890, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 1023358, "num_examples": 1511, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-train.conllu": {"num_bytes": 16444176, "checksum": "589564c68ab0763c2574ad90ea8928f029144c966e4af064e59a0865c53c5ef2"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-dev.conllu": {"num_bytes": 2096713, "checksum": "6519a00c0ddc4f8ef2605d7c5326adcafb2dfa2df439e281c95e1a0ef218b928"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-test.conllu": {"num_bytes": 1668364, "checksum": "6b99cafd7019ed6d1eea1b51a0707df89cad597fe588b5987b9f278ffd87588c"}}, "download_size": 20209253, "post_processing_size": null, "dataset_size": 12373647, "size_in_bytes": 32582900}, "combined": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 19, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-GPE_LOC", "I-GPE_LOC", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-GPE_ORG", "I-GPE_ORG", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "combined", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 20104393, "num_examples": 29870, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 2779723, "num_examples": 4300, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 2257594, "num_examples": 3450, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-train.conllu": {"num_bytes": 16437262, "checksum": "b17efd70034071f65ba5e3a15bc15f9a597f4c1dd3febb2ffec964906a9c1a98"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-dev.conllu": {"num_bytes": 2453504, "checksum": "dba752ca6dc0c628f7cf12e9131b2627be0dff082bd96311bafce40590c46f9c"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-test.conllu": {"num_bytes": 2018475, "checksum": "ace6fa65758541333e6a64210fa8466145e024cbbab18a156e8757c8b21c103b"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-train.conllu": {"num_bytes": 16444176, "checksum": "589564c68ab0763c2574ad90ea8928f029144c966e4af064e59a0865c53c5ef2"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-dev.conllu": {"num_bytes": 2096713, "checksum": "6519a00c0ddc4f8ef2605d7c5326adcafb2dfa2df439e281c95e1a0ef218b928"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-test.conllu": {"num_bytes": 1668364, "checksum": "6b99cafd7019ed6d1eea1b51a0707df89cad597fe588b5987b9f278ffd87588c"}}, "download_size": 41118494, "post_processing_size": null, "dataset_size": 25141710, "size_in_bytes": 66260204}, "bokmaal-7": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 15, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "bokmaal-7", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10032169, "num_examples": 15696, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 1501730, "num_examples": 2410, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 1234272, "num_examples": 1939, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-train.conllu": {"num_bytes": 16437262, "checksum": "b17efd70034071f65ba5e3a15bc15f9a597f4c1dd3febb2ffec964906a9c1a98"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-dev.conllu": {"num_bytes": 2453504, "checksum": "dba752ca6dc0c628f7cf12e9131b2627be0dff082bd96311bafce40590c46f9c"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-test.conllu": {"num_bytes": 2018475, "checksum": "ace6fa65758541333e6a64210fa8466145e024cbbab18a156e8757c8b21c103b"}}, "download_size": 20909241, "post_processing_size": null, "dataset_size": 12768171, "size_in_bytes": 33677412}, "nynorsk-7": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 15, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "nynorsk-7", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10072260, "num_examples": 14174, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 1278029, "num_examples": 1890, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 1023358, "num_examples": 1511, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-train.conllu": {"num_bytes": 16444176, "checksum": "589564c68ab0763c2574ad90ea8928f029144c966e4af064e59a0865c53c5ef2"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-dev.conllu": {"num_bytes": 2096713, "checksum": "6519a00c0ddc4f8ef2605d7c5326adcafb2dfa2df439e281c95e1a0ef218b928"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-test.conllu": {"num_bytes": 1668364, "checksum": "6b99cafd7019ed6d1eea1b51a0707df89cad597fe588b5987b9f278ffd87588c"}}, "download_size": 20209253, "post_processing_size": null, "dataset_size": 12373647, "size_in_bytes": 32582900}, "combined-7": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 15, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "combined-7", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 20104393, "num_examples": 29870, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 2779723, "num_examples": 4300, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 2257594, "num_examples": 3450, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-train.conllu": {"num_bytes": 16437262, "checksum": "b17efd70034071f65ba5e3a15bc15f9a597f4c1dd3febb2ffec964906a9c1a98"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-dev.conllu": {"num_bytes": 2453504, "checksum": "dba752ca6dc0c628f7cf12e9131b2627be0dff082bd96311bafce40590c46f9c"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-test.conllu": {"num_bytes": 2018475, "checksum": "ace6fa65758541333e6a64210fa8466145e024cbbab18a156e8757c8b21c103b"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-train.conllu": {"num_bytes": 16444176, "checksum": "589564c68ab0763c2574ad90ea8928f029144c966e4af064e59a0865c53c5ef2"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-dev.conllu": {"num_bytes": 2096713, "checksum": "6519a00c0ddc4f8ef2605d7c5326adcafb2dfa2df439e281c95e1a0ef218b928"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-test.conllu": {"num_bytes": 1668364, "checksum": "6b99cafd7019ed6d1eea1b51a0707df89cad597fe588b5987b9f278ffd87588c"}}, "download_size": 41118494, "post_processing_size": null, "dataset_size": 25141710, "size_in_bytes": 66260204}, "bokmaal-8": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 17, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-GPE", "I-GPE", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "bokmaal-8", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10032169, "num_examples": 15696, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 1501730, "num_examples": 2410, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 1234272, "num_examples": 1939, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-train.conllu": {"num_bytes": 16437262, "checksum": "b17efd70034071f65ba5e3a15bc15f9a597f4c1dd3febb2ffec964906a9c1a98"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-dev.conllu": {"num_bytes": 2453504, "checksum": "dba752ca6dc0c628f7cf12e9131b2627be0dff082bd96311bafce40590c46f9c"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-test.conllu": {"num_bytes": 2018475, "checksum": "ace6fa65758541333e6a64210fa8466145e024cbbab18a156e8757c8b21c103b"}}, "download_size": 20909241, "post_processing_size": null, "dataset_size": 12768171, "size_in_bytes": 33677412}, "nynorsk-8": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 17, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-GPE", "I-GPE", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "nynorsk-8", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10072260, "num_examples": 14174, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 1278029, "num_examples": 1890, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 1023358, "num_examples": 1511, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-train.conllu": {"num_bytes": 16444176, "checksum": "589564c68ab0763c2574ad90ea8928f029144c966e4af064e59a0865c53c5ef2"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-dev.conllu": {"num_bytes": 2096713, "checksum": "6519a00c0ddc4f8ef2605d7c5326adcafb2dfa2df439e281c95e1a0ef218b928"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-test.conllu": {"num_bytes": 1668364, "checksum": "6b99cafd7019ed6d1eea1b51a0707df89cad597fe588b5987b9f278ffd87588c"}}, "download_size": 20209253, "post_processing_size": null, "dataset_size": 12373647, "size_in_bytes": 32582900}, "combined-8": {"description": "NorNE is a manually annotated\ncorpus of named entities which extends the annotation of the existing\nNorwegian Dependency Treebank. Comprising both of the official standards of\nwritten Norwegian (Bokm\u00e5l and Nynorsk), the corpus contains around 600,000\ntokens and annotates a rich set of entity types including persons,\norganizations, locations, geo-political entities, products, and events,\nin addition to a class corresponding to nominals derived from names.\n", "citation": "@inproceedings{johansen2019ner,\n title={NorNE: Annotating Named Entities for Norwegian},\n author={Fredrik J\u00f8rgensen, Tobias Aasmoe, Anne-Stine Ruud Husev\u00e5g,\n Lilja \u00d8vrelid, and Erik Velldal},\n booktitle={LREC 2020},\n year={2020},\n url={https://arxiv.org/abs/1911.12146}\n}\n", "homepage": "https://github.com/ltgoslo/norne", "license": "", "features": {"idx": {"dtype": "string", "id": null, "_type": "Value"}, "lang": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "lemmas": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"num_classes": 17, "names": ["NOUN", "PUNCT", "ADP", "NUM", "SYM", "SCONJ", "ADJ", "PART", "DET", "CCONJ", "PROPN", "PRON", "X", "ADV", "INTJ", "VERB", "AUX"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 17, "names": ["O", "B-PER", "I-PER", "B-ORG", "I-ORG", "B-PROD", "I-PROD", "B-LOC", "I-LOC", "B-GPE", "I-GPE", "B-DRV", "I-DRV", "B-EVT", "I-EVT", "B-MISC", "I-MISC"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "norne", "config_name": "combined-8", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 20104393, "num_examples": 29870, "dataset_name": "norne"}, "validation": {"name": "validation", "num_bytes": 2779723, "num_examples": 4300, "dataset_name": "norne"}, "test": {"name": "test", "num_bytes": 2257594, "num_examples": 3450, "dataset_name": "norne"}}, "download_checksums": {"https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-train.conllu": {"num_bytes": 16437262, "checksum": "b17efd70034071f65ba5e3a15bc15f9a597f4c1dd3febb2ffec964906a9c1a98"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-dev.conllu": {"num_bytes": 2453504, "checksum": "dba752ca6dc0c628f7cf12e9131b2627be0dff082bd96311bafce40590c46f9c"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nob/no_bokmaal-ud-test.conllu": {"num_bytes": 2018475, "checksum": "ace6fa65758541333e6a64210fa8466145e024cbbab18a156e8757c8b21c103b"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-train.conllu": {"num_bytes": 16444176, "checksum": "589564c68ab0763c2574ad90ea8928f029144c966e4af064e59a0865c53c5ef2"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-dev.conllu": {"num_bytes": 2096713, "checksum": "6519a00c0ddc4f8ef2605d7c5326adcafb2dfa2df439e281c95e1a0ef218b928"}, "https://raw.githubusercontent.com/ltgoslo/norne/master/ud/nno/no_nynorsk-ud-test.conllu": {"num_bytes": 1668364, "checksum": "6b99cafd7019ed6d1eea1b51a0707df89cad597fe588b5987b9f278ffd87588c"}}, "download_size": 41118494, "post_processing_size": null, "dataset_size": 25141710, "size_in_bytes": 66260204}}
|
dummy/bokmaal-7/1.0.0/dummy_data.zip
ADDED
Binary file (2.22 kB). View file
|
|
dummy/bokmaal-8/1.0.0/dummy_data.zip
ADDED
Binary file (2.22 kB). View file
|
|
dummy/bokmaal/1.0.0/dummy_data.zip.lock
DELETED
File without changes
|
dummy/combined-7/1.0.0/dummy_data.zip
ADDED
Binary file (4.05 kB). View file
|
|
dummy/combined-8/1.0.0/dummy_data.zip
ADDED
Binary file (4.05 kB). View file
|
|
dummy/combined/1.0.0/dummy_data.zip.lock
DELETED
File without changes
|
dummy/nynorsk-7/1.0.0/dummy_data.zip
ADDED
Binary file (2.06 kB). View file
|
|
dummy/nynorsk-8/1.0.0/dummy_data.zip
ADDED
Binary file (2.06 kB). View file
|
|
dummy/nynorsk/1.0.0/dummy_data.zip.lock
DELETED
File without changes
|
norne.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# coding=utf-8
|
2 |
-
# Copyright
|
3 |
#
|
4 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
# you may not use this file except in compliance with the License.
|
@@ -16,12 +16,7 @@
|
|
16 |
# Lint as: python3
|
17 |
"""NorNE: Annotating Named Entities for Norwegian."""
|
18 |
|
19 |
-
|
20 |
-
import conllu
|
21 |
-
except ImportError:
|
22 |
-
import sys
|
23 |
-
|
24 |
-
print("Please, 'pip install conllu' to use the NorNE dataset", file=sys.stderr)
|
25 |
|
26 |
import datasets
|
27 |
|
@@ -74,14 +69,118 @@ class Norne(datasets.GeneratorBasedBuilder):
|
|
74 |
"""NorNE dataset."""
|
75 |
|
76 |
BUILDER_CONFIGS = [
|
77 |
-
NorneConfig(name="bokmaal", version=datasets.Version("1.0.0"), description="NorNE bokmaal dataset"),
|
78 |
-
NorneConfig(name="nynorsk", version=datasets.Version("1.0.0"), description="NorNE nynorsk dataset"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
NorneConfig(
|
80 |
-
name="combined",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
),
|
82 |
]
|
83 |
|
84 |
def _info(self):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
return datasets.DatasetInfo(
|
86 |
description=_DESCRIPTION,
|
87 |
features=datasets.Features(
|
@@ -114,31 +213,7 @@ class Norne(datasets.GeneratorBasedBuilder):
|
|
114 |
]
|
115 |
)
|
116 |
),
|
117 |
-
"ner_tags":
|
118 |
-
datasets.features.ClassLabel(
|
119 |
-
names=[
|
120 |
-
"O",
|
121 |
-
"B-PER",
|
122 |
-
"I-PER",
|
123 |
-
"B-ORG",
|
124 |
-
"I-ORG",
|
125 |
-
"B-GPE_LOC",
|
126 |
-
"I-GPE_LOC",
|
127 |
-
"B-PROD",
|
128 |
-
"I-PROD",
|
129 |
-
"B-LOC",
|
130 |
-
"I-LOC",
|
131 |
-
"B-GPE_ORG",
|
132 |
-
"I-GPE_ORG",
|
133 |
-
"B-DRV",
|
134 |
-
"I-DRV",
|
135 |
-
"B-EVT",
|
136 |
-
"I-EVT",
|
137 |
-
"B-MISC",
|
138 |
-
"I-MISC",
|
139 |
-
]
|
140 |
-
)
|
141 |
-
),
|
142 |
}
|
143 |
),
|
144 |
supervised_keys=None,
|
@@ -152,7 +227,8 @@ class Norne(datasets.GeneratorBasedBuilder):
|
|
152 |
dev_filepaths = []
|
153 |
test_filepaths = []
|
154 |
langs = []
|
155 |
-
|
|
|
156 |
downloaded_files = dl_manager.download_and_extract(
|
157 |
{
|
158 |
"train": f"{_URL}{_BOKMAAL_TRAIN}",
|
@@ -164,7 +240,7 @@ class Norne(datasets.GeneratorBasedBuilder):
|
|
164 |
dev_filepaths.append(downloaded_files["dev"])
|
165 |
test_filepaths.append(downloaded_files["test"])
|
166 |
langs.append("bokmaal")
|
167 |
-
if
|
168 |
downloaded_files = dl_manager.download_and_extract(
|
169 |
{
|
170 |
"train": f"{_URL}{_NYNORSK_TRAIN}",
|
@@ -190,6 +266,21 @@ class Norne(datasets.GeneratorBasedBuilder):
|
|
190 |
|
191 |
def _generate_examples(self, filepaths, langs):
|
192 |
idx = 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
for filepath, lang in zip(filepaths, langs):
|
194 |
with open(filepath, "r", encoding="utf-8") as data_file:
|
195 |
tokens = list(conllu.parse_incr(data_file))
|
@@ -201,6 +292,6 @@ class Norne(datasets.GeneratorBasedBuilder):
|
|
201 |
"tokens": [token["form"] for token in sent],
|
202 |
"lemmas": [token["lemma"] for token in sent],
|
203 |
"pos_tags": [token["upos"] for token in sent],
|
204 |
-
"ner_tags": [token["misc"].get("name", "O") for token in sent],
|
205 |
}
|
206 |
idx += 1
|
|
|
1 |
# coding=utf-8
|
2 |
+
# Copyright 2020 The TensorFlow Datasets Authors and the HuggingFace Datasets Authors.
|
3 |
#
|
4 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
5 |
# you may not use this file except in compliance with the License.
|
|
|
16 |
# Lint as: python3
|
17 |
"""NorNE: Annotating Named Entities for Norwegian."""
|
18 |
|
19 |
+
import conllu
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
import datasets
|
22 |
|
|
|
69 |
"""NorNE dataset."""
|
70 |
|
71 |
BUILDER_CONFIGS = [
|
72 |
+
NorneConfig(name="bokmaal", version=datasets.Version("1.0.0"), description="NorNE bokmaal dataset (full set)"),
|
73 |
+
NorneConfig(name="nynorsk", version=datasets.Version("1.0.0"), description="NorNE nynorsk dataset (full set)"),
|
74 |
+
NorneConfig(
|
75 |
+
name="combined",
|
76 |
+
version=datasets.Version("1.0.0"),
|
77 |
+
description="NorNE bokmaal and nynorsk dataset (full set)",
|
78 |
+
),
|
79 |
+
NorneConfig(
|
80 |
+
name="bokmaal-7",
|
81 |
+
version=datasets.Version("1.0.0"),
|
82 |
+
description="NorNE bokmaal dataset (GPE_LOC/GPE_ORG as LOC/ORG)",
|
83 |
+
),
|
84 |
+
NorneConfig(
|
85 |
+
name="nynorsk-7",
|
86 |
+
version=datasets.Version("1.0.0"),
|
87 |
+
description="NorNE nynorsk dataset (GPE_LOC/GPE_ORG as LOC/ORG)",
|
88 |
+
),
|
89 |
NorneConfig(
|
90 |
+
name="combined-7",
|
91 |
+
version=datasets.Version("1.0.0"),
|
92 |
+
description="NorNE bokmaal and nynorsk dataset (GPE_LOC/GPE_ORG as LOC/ORG)",
|
93 |
+
),
|
94 |
+
NorneConfig(
|
95 |
+
name="bokmaal-8",
|
96 |
+
version=datasets.Version("1.0.0"),
|
97 |
+
description="NorNE bokmaal dataset (GPE_LOC/GPE_ORG as GPE)",
|
98 |
+
),
|
99 |
+
NorneConfig(
|
100 |
+
name="nynorsk-8",
|
101 |
+
version=datasets.Version("1.0.0"),
|
102 |
+
description="NorNE nynorsk dataset (GPE_LOC/GPE_ORG as GPE)",
|
103 |
+
),
|
104 |
+
NorneConfig(
|
105 |
+
name="combined-8",
|
106 |
+
version=datasets.Version("1.0.0"),
|
107 |
+
description="NorNE bokmaal and nynorsk dataset (GPE_LOC/GPE_ORG as GPE)",
|
108 |
),
|
109 |
]
|
110 |
|
111 |
def _info(self):
|
112 |
+
if self.config.name.endswith("-7"):
|
113 |
+
ner_tags = datasets.Sequence(
|
114 |
+
datasets.features.ClassLabel(
|
115 |
+
names=[
|
116 |
+
"O",
|
117 |
+
"B-PER",
|
118 |
+
"I-PER",
|
119 |
+
"B-ORG",
|
120 |
+
"I-ORG",
|
121 |
+
"B-PROD",
|
122 |
+
"I-PROD",
|
123 |
+
"B-LOC",
|
124 |
+
"I-LOC",
|
125 |
+
"B-DRV",
|
126 |
+
"I-DRV",
|
127 |
+
"B-EVT",
|
128 |
+
"I-EVT",
|
129 |
+
"B-MISC",
|
130 |
+
"I-MISC",
|
131 |
+
]
|
132 |
+
)
|
133 |
+
)
|
134 |
+
elif self.config.name.endswith("-8"):
|
135 |
+
ner_tags = datasets.Sequence(
|
136 |
+
datasets.features.ClassLabel(
|
137 |
+
names=[
|
138 |
+
"O",
|
139 |
+
"B-PER",
|
140 |
+
"I-PER",
|
141 |
+
"B-ORG",
|
142 |
+
"I-ORG",
|
143 |
+
"B-PROD",
|
144 |
+
"I-PROD",
|
145 |
+
"B-LOC",
|
146 |
+
"I-LOC",
|
147 |
+
"B-GPE",
|
148 |
+
"I-GPE",
|
149 |
+
"B-DRV",
|
150 |
+
"I-DRV",
|
151 |
+
"B-EVT",
|
152 |
+
"I-EVT",
|
153 |
+
"B-MISC",
|
154 |
+
"I-MISC",
|
155 |
+
]
|
156 |
+
)
|
157 |
+
)
|
158 |
+
else:
|
159 |
+
ner_tags = datasets.Sequence(
|
160 |
+
datasets.features.ClassLabel(
|
161 |
+
names=[
|
162 |
+
"O",
|
163 |
+
"B-PER",
|
164 |
+
"I-PER",
|
165 |
+
"B-ORG",
|
166 |
+
"I-ORG",
|
167 |
+
"B-GPE_LOC",
|
168 |
+
"I-GPE_LOC",
|
169 |
+
"B-PROD",
|
170 |
+
"I-PROD",
|
171 |
+
"B-LOC",
|
172 |
+
"I-LOC",
|
173 |
+
"B-GPE_ORG",
|
174 |
+
"I-GPE_ORG",
|
175 |
+
"B-DRV",
|
176 |
+
"I-DRV",
|
177 |
+
"B-EVT",
|
178 |
+
"I-EVT",
|
179 |
+
"B-MISC",
|
180 |
+
"I-MISC",
|
181 |
+
]
|
182 |
+
)
|
183 |
+
)
|
184 |
return datasets.DatasetInfo(
|
185 |
description=_DESCRIPTION,
|
186 |
features=datasets.Features(
|
|
|
213 |
]
|
214 |
)
|
215 |
),
|
216 |
+
"ner_tags": ner_tags,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
}
|
218 |
),
|
219 |
supervised_keys=None,
|
|
|
227 |
dev_filepaths = []
|
228 |
test_filepaths = []
|
229 |
langs = []
|
230 |
+
config_name = self.config.name.replace("-7", "").replace("-8", "")
|
231 |
+
if config_name in ("bokmaal", "combined"):
|
232 |
downloaded_files = dl_manager.download_and_extract(
|
233 |
{
|
234 |
"train": f"{_URL}{_BOKMAAL_TRAIN}",
|
|
|
240 |
dev_filepaths.append(downloaded_files["dev"])
|
241 |
test_filepaths.append(downloaded_files["test"])
|
242 |
langs.append("bokmaal")
|
243 |
+
if config_name in ("nynorsk", "combined"):
|
244 |
downloaded_files = dl_manager.download_and_extract(
|
245 |
{
|
246 |
"train": f"{_URL}{_NYNORSK_TRAIN}",
|
|
|
266 |
|
267 |
def _generate_examples(self, filepaths, langs):
|
268 |
idx = 0
|
269 |
+
if self.config.name.endswith("-7"):
|
270 |
+
|
271 |
+
def filter_tags(x):
|
272 |
+
return x.replace("GPE_", "")
|
273 |
+
|
274 |
+
elif self.config.name.endswith("-8"):
|
275 |
+
|
276 |
+
def filter_tags(x):
|
277 |
+
return x.replace("_LOC", "").replace("_ORG", "")
|
278 |
+
|
279 |
+
else:
|
280 |
+
|
281 |
+
def filter_tags(x):
|
282 |
+
return x
|
283 |
+
|
284 |
for filepath, lang in zip(filepaths, langs):
|
285 |
with open(filepath, "r", encoding="utf-8") as data_file:
|
286 |
tokens = list(conllu.parse_incr(data_file))
|
|
|
292 |
"tokens": [token["form"] for token in sent],
|
293 |
"lemmas": [token["lemma"] for token in sent],
|
294 |
"pos_tags": [token["upos"] for token in sent],
|
295 |
+
"ner_tags": [filter_tags(token["misc"].get("name", "O")) for token in sent],
|
296 |
}
|
297 |
idx += 1
|
norne.py.lock
DELETED
File without changes
|