albertvillanova HF staff commited on
Commit
0f79606
1 Parent(s): f5faac4

Host data file (#4)

Browse files

- Host data file (e4736cdb3322ae426b7de108c040b410c3b7b33c)
- Update loading script (974437b8c99b3f3b3417e0d4ac86eaa2e3ee8fd0)
- Update license, repo, summary, citation metadata (1ee23c8971276e141327e419a85a9a0d0bd3b645)
- Delete legacy dataset_infos.json (61e462432b2c70e63f9e44e7c9189e5ecfac3402)

Files changed (4) hide show
  1. README.md +43 -15
  2. data/linnaeus.zip +3 -0
  3. dataset_infos.json +0 -1
  4. linnaeus.py +3 -2
README.md CHANGED
@@ -6,7 +6,7 @@ language_creators:
6
  language:
7
  - en
8
  license:
9
- - unknown
10
  multilinguality:
11
  - monolingual
12
  size_categories:
@@ -76,14 +76,30 @@ dataset_info:
76
  ## Dataset Description
77
 
78
  - **Homepage:** [linnaeus](http://linnaeus.sourceforge.net/)
79
- - **Repository:**
80
  - **Paper:** [BMC Bioinformatics](https://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-11-85)
81
  - **Leaderboard:**
82
  - **Point of Contact:**
83
 
84
  ### Dataset Summary
85
 
86
- LINNAEUS is a general-purpose dictionary matching software, capable of processing multiple types of document formats in the biomedical domain (MEDLINE, PMC, BMC, OTMI, text, etc.). It can produce multiple types of output (XML, HTML, tab-separated-value file, or save to a database). It also contains methods for acting as a server (including load balancing across several servers), allowing clients to request matching over a network. A package with files for recognizing and identifying species names is available for LINNAEUS, showing 94% recall and 97% precision compared to LINNAEUS-species-corpus.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
 
88
  ### Supported Tasks and Leaderboards
89
 
@@ -170,23 +186,35 @@ An example from the dataset is:
170
 
171
  ### Licensing Information
172
 
173
- [More Information Needed]
174
 
175
  ### Citation Information
176
 
177
  ```bibtex
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  @article{Gerner2010,
179
- abstract = {The task of recognizing and identifying species names in biomedical literature has recently been regarded as critical for a number of applications in text and data mining, including gene name recognition, species-specific document retrieval, and semantic enrichment of biomedical articles.},
180
- author = {Gerner, Martin and Nenadic, Goran and Bergman, Casey M},
181
- doi = {10.1186/1471-2105-11-85},
182
- issn = {1471-2105},
183
- journal = {BMC Bioinformatics},
184
- number = {1},
185
- pages = {85},
186
- title = {{LINNAEUS: A species name identification system for biomedical literature}},
187
- url = {https://doi.org/10.1186/1471-2105-11-85},
188
- volume = {11},
189
- year = {2010}
190
  }
191
  ```
192
 
6
  language:
7
  - en
8
  license:
9
+ - cc-by-4.0
10
  multilinguality:
11
  - monolingual
12
  size_categories:
76
  ## Dataset Description
77
 
78
  - **Homepage:** [linnaeus](http://linnaeus.sourceforge.net/)
79
+ - **Repository:** https://github.com/cambridgeltl/MTL-Bioinformatics-2016/tree/master/data/linnaeus-IOB
80
  - **Paper:** [BMC Bioinformatics](https://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-11-85)
81
  - **Leaderboard:**
82
  - **Point of Contact:**
83
 
84
  ### Dataset Summary
85
 
86
+ The LINNAEUS corpus consists of 100 full-text documents from the PMCOA
87
+ document set which were randomly selected. All mentions of species terms were manually
88
+ annotated and normalized to the NCBI taxonomy IDs of the intended species.
89
+
90
+ The original LINNAEUS corpus is available in a TAB-separated standoff format. The resource does not define training,
91
+ development or test subsets.
92
+
93
+ We converted the corpus into BioNLP shared task standoff format using a custom script, split it into 50-, 17-, and 33-
94
+ document training, development and test sets, and then converted these into the CoNLL format using standoff2conll.
95
+
96
+ As a full-text corpus, LINNAEUS contains comparatively frequent
97
+ non-ASCII characters, which were mapped to ASCII using the
98
+ standoff2conll -a option.
99
+ The conversion was highly accurate, but due to sentence-splitting errors within entity mentions,
100
+ the number of annotations in the converted data was larger by four (100.09%) than that
101
+ in the source data. 99.77% of names in the original annotation matched names in the converted
102
+ data.
103
 
104
  ### Supported Tasks and Leaderboards
105
 
186
 
187
  ### Licensing Information
188
 
189
+ This version of the dataset is licensed under [Creative Commons Attribution 4.0 International](https://github.com/cambridgeltl/MTL-Bioinformatics-2016/blob/master/LICENSE.md).
190
 
191
  ### Citation Information
192
 
193
  ```bibtex
194
+ @article{crichton2017neural,
195
+ title={A neural network multi-task learning approach to biomedical named entity recognition},
196
+ author={Crichton, Gamal and Pyysalo, Sampo and Chiu, Billy and Korhonen, Anna},
197
+ journal={BMC Bioinformatics},
198
+ volume={18},
199
+ number={1},
200
+ pages={368},
201
+ year={2017},
202
+ publisher={BioMed Central}
203
+ doi = {10.1186/s12859-017-1776-8},
204
+ issn = {1471-2105},
205
+ url = {https://doi.org/10.1186/s12859-017-1776-8},
206
+ }
207
  @article{Gerner2010,
208
+ author = {Gerner, Martin and Nenadic, Goran and Bergman, Casey M},
209
+ doi = {10.1186/1471-2105-11-85},
210
+ issn = {1471-2105},
211
+ journal = {BMC Bioinformatics},
212
+ number = {1},
213
+ pages = {85},
214
+ title = {{LINNAEUS: A species name identification system for biomedical literature}},
215
+ url = {https://doi.org/10.1186/1471-2105-11-85},
216
+ volume = {11},
217
+ year = {2010}
 
218
  }
219
  ```
220
 
data/linnaeus.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3a232d89f02508c30c92e1ad011d953d2739ddaeb33de8ac370165ddbb3826f
3
+ size 972920
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"linnaeus": {"description": "A novel corpus of full-text documents manually annotated for species mentions.\n", "citation": "@article{gerner2010linnaeus,\n title={LINNAEUS: a species name identification system for biomedical literature},\n author={Gerner, Martin and Nenadic, Goran and Bergman, Casey M},\n journal={BMC bioinformatics},\n volume={11},\n number={1},\n pages={85},\n year={2010},\n publisher={Springer}\n}\n", "homepage": "http://linnaeus.sourceforge.net/", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"num_classes": 3, "names": ["O", "B", "I"], "names_file": null, "id": null, "_type": "ClassLabel"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "linnaeus", "config_name": "linnaeus", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 4772417, "num_examples": 11936, "dataset_name": "linnaeus"}, "validation": {"name": "validation", "num_bytes": 1592823, "num_examples": 4079, "dataset_name": "linnaeus"}, "test": {"name": "test", "num_bytes": 2802877, "num_examples": 7143, "dataset_name": "linnaeus"}}, "download_checksums": {"https://drive.google.com/u/0/uc?id=1OletxmPYNkz2ltOr9pyT0b0iBtUWxslh&export=download": {"num_bytes": 18204624, "checksum": "30522c752fd90e6da05f117a52da13174b246e4980e46840e6e1737dc67e1d27"}}, "download_size": 18204624, "post_processing_size": null, "dataset_size": 9168117, "size_in_bytes": 27372741}}
 
linnaeus.py CHANGED
@@ -42,7 +42,8 @@ A novel corpus of full-text documents manually annotated for species mentions.
42
  """
43
 
44
  _HOMEPAGE = "http://linnaeus.sourceforge.net/"
45
- _URL = "https://drive.google.com/u/0/uc?id=1OletxmPYNkz2ltOr9pyT0b0iBtUWxslh&export=download"
 
46
  _BIOBERT_NER_DATASET_DIRECTORY = "linnaeus"
47
  _TRAINING_FILE = "train.tsv"
48
  _DEV_FILE = "devel.tsv"
@@ -130,7 +131,7 @@ class Linnaeus(datasets.GeneratorBasedBuilder):
130
  # tokens are tab separated
131
  splits = line.split("\t")
132
  tokens.append(splits[0])
133
- ner_tags.append(splits[1].rstrip())
134
  # last example
135
  yield guid, {
136
  "id": str(guid),
42
  """
43
 
44
  _HOMEPAGE = "http://linnaeus.sourceforge.net/"
45
+ # Source data: https://github.com/cambridgeltl/MTL-Bioinformatics-2016/tree/master/data/linnaeus-IOB
46
+ _URL = "data/linnaeus.zip"
47
  _BIOBERT_NER_DATASET_DIRECTORY = "linnaeus"
48
  _TRAINING_FILE = "train.tsv"
49
  _DEV_FILE = "devel.tsv"
131
  # tokens are tab separated
132
  splits = line.split("\t")
133
  tokens.append(splits[0])
134
+ ner_tags.append(splits[1].split("-")[0])
135
  # last example
136
  yield guid, {
137
  "id": str(guid),