Dr. Jorge Abreu Vicente commited on
Commit
1979e65
1 Parent(s): 8905ec4

Delete constants.py

Browse files
Files changed (1) hide show
  1. constants.py +0 -178
constants.py DELETED
@@ -1,178 +0,0 @@
1
- CITATIONS = {
2
- "blurb": """\
3
- @article{2022,
4
- title={Domain-Specific Language Model Pretraining for Biomedical Natural Language Processing},
5
- volume={3},
6
- ISSN={2637-8051},
7
- url={http://dx.doi.org/10.1145/3458754},
8
- DOI={10.1145/3458754},
9
- number={1},
10
- journal={ACM Transactions on Computing for Healthcare},
11
- publisher={Association for Computing Machinery (ACM)},
12
- author={Gu, Yu and Tinn, Robert and Cheng, Hao and Lucas, Michael and Usuyama, Naoto and Liu, Xiaodong and Naumann, Tristan and Gao, Jianfeng and Poon, Hoifung},
13
- year={2022},
14
- month={Jan},
15
- pages={1–23}
16
- }
17
- """,
18
- "BC5CDR-chem-IOB": """@article{article,
19
- author = {Li, Jiao and Sun, Yueping and Johnson, Robin and Sciaky, Daniela and Wei, Chih-Hsuan and Leaman, Robert and Davis, Allan Peter and Mattingly, Carolyn and Wiegers, Thomas and lu, Zhiyong},
20
- year = {2016},
21
- month = {05},
22
- pages = {baw068},
23
- title = {BioCreative V CDR task corpus: a resource for chemical disease relation extraction},
24
- volume = {2016},
25
- journal = {Database},
26
- doi = {10.1093/database/baw068}
27
- }""",
28
- "BC5CDR-disease-IOB":"""@article{article,
29
- author = {Li, Jiao and Sun, Yueping and Johnson, Robin and Sciaky, Daniela and Wei, Chih-Hsuan and Leaman, Robert and Davis, Allan Peter and Mattingly, Carolyn and Wiegers, Thomas and lu, Zhiyong},
30
- year = {2016},
31
- month = {05},
32
- pages = {baw068},
33
- title = {BioCreative V CDR task corpus: a resource for chemical disease relation extraction},
34
- volume = {2016},
35
- journal = {Database},
36
- doi = {10.1093/database/baw068}
37
- }""",
38
- "BC2GM-IOB":"""@article{article,
39
- author = {Smith, Larry and Tanabe, Lorraine and Ando, Rie and Kuo, Cheng-Ju and Chung, I-Fang and Hsu, Chun-Nan and Lin, Yu-Shi and Klinger, Roman and Friedrich, Christoph and Ganchev, Kuzman and Torii, Manabu and Liu, Hongfang and Haddow, Barry and Struble, Craig and Povinelli, Richard and Vlachos, Andreas and Baumgartner Jr, William and Hunter, Lawrence and Carpenter, Bob and Wilbur, W.},
40
- year = {2008},
41
- month = {09},
42
- pages = {S2},
43
- title = {Overview of BioCreative II gene mention recognition},
44
- volume = {9 Suppl 2},
45
- journal = {Genome biology},
46
- doi = {10.1186/gb-2008-9-s2-s2}
47
- }""",
48
- "NCBI-disease-IOB":"""@article{10.5555/2772763.2772800,
49
- author = {Dogan, Rezarta Islamaj and Leaman, Robert and Lu, Zhiyong},
50
- title = {NCBI Disease Corpus},
51
- year = {2014},
52
- issue_date = {February 2014},
53
- publisher = {Elsevier Science},
54
- address = {San Diego, CA, USA},
55
- volume = {47},
56
- number = {C},
57
- issn = {1532-0464},
58
- abstract = {Graphical abstractDisplay Omitted NCBI disease corpus is built as a gold-standard resource for disease recognition.793 PubMed abstracts are annotated with disease mentions and concepts (MeSH/OMIM).14 Annotators produced high consistency level and inter-annotator agreement.Normalization benchmark results demonstrate the utility of the corpus.The corpus is publicly available to the community. Information encoded in natural language in biomedical literature publications is only useful if efficient and reliable ways of accessing and analyzing that information are available. Natural language processing and text mining tools are therefore essential for extracting valuable information, however, the development of powerful, highly effective tools to automatically detect central biomedical concepts such as diseases is conditional on the availability of annotated corpora.This paper presents the disease name and concept annotations of the NCBI disease corpus, a collection of 793 PubMed abstracts fully annotated at the mention and concept level to serve as a research resource for the biomedical natural language processing community. Each PubMed abstract was manually annotated by two annotators with disease mentions and their corresponding concepts in Medical Subject Headings (MeSH ) or Online Mendelian Inheritance in Man (OMIM ). Manual curation was performed using PubTator, which allowed the use of pre-annotations as a pre-step to manual annotations. Fourteen annotators were randomly paired and differing annotations were discussed for reaching a consensus in two annotation phases. In this setting, a high inter-annotator agreement was observed. Finally, all results were checked against annotations of the rest of the corpus to assure corpus-wide consistency.The public release of the NCBI disease corpus contains 6892 disease mentions, which are mapped to 790 unique disease concepts. Of these, 88% link to a MeSH identifier, while the rest contain an OMIM identifier. We were able to link 91% of the mentions to a single disease concept, while the rest are described as a combination of concepts. In order to help researchers use the corpus to design and test disease identification methods, we have prepared the corpus as training, testing and development sets. To demonstrate its utility, we conducted a benchmarking experiment where we compared three different knowledge-based disease normalization methods with a best performance in F-measure of 63.7%. These results show that the NCBI disease corpus has the potential to significantly improve the state-of-the-art in disease name recognition and normalization research, by providing a high-quality gold standard thus enabling the development of machine-learning based approaches for such tasks.The NCBI disease corpus, guidelines and other associated resources are available at: http://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/DISEASE/.},
59
- journal = {J. of Biomedical Informatics},
60
- month = {feb},
61
- pages = {1–10},
62
- numpages = {10}}""",
63
- "JNLPBA":"""@inproceedings{collier-kim-2004-introduction,
64
- title = "Introduction to the Bio-entity Recognition Task at {JNLPBA}",
65
- author = "Collier, Nigel and
66
- Kim, Jin-Dong",
67
- booktitle = "Proceedings of the International Joint Workshop on Natural Language Processing in Biomedicine and its Applications ({NLPBA}/{B}io{NLP})",
68
- month = aug # " 28th and 29th",
69
- year = "2004",
70
- address = "Geneva, Switzerland",
71
- publisher = "COLING",
72
- url = "https://aclanthology.org/W04-1213",
73
- pages = "73--78",
74
- }""",
75
-
76
- "BIOSSES": """@article{souganciouglu2017biosses,
77
- title={BIOSSES: a semantic sentence similarity estimation system for the biomedical domain},
78
- author={Souganciouglu, Gizem and Ozturk, Hakime and Ozgur, Arzucan},
79
- journal={Bioinformatics},
80
- volume={33},
81
- number={14},
82
- pages={i49--i58},
83
- year={2017},
84
- publisher={Oxford University Press}
85
- }"""
86
-
87
- }
88
-
89
- DESCRIPTIONS = {
90
- "blurb" : """BLURB (Biomedical Language Understanding and Reasoning Benchmark.)
91
- is a comprehensive benchmark for biomedical NLP, with 13 biomedical NLP datasets in 6
92
- tasks (NER, PICO, Relation Extraction, Sentence similarity, document classification, question answering).
93
- Our aim is to facilitate investigations of biomedical natural language processing
94
- with a specific focus on language model pretraining and to help accelerate progress in universal Biomedical
95
- NLP applications. The table below compares the datasets comprising BLURB versus the various datasets used in
96
- previous Biomedical and Clinical BERT language models.""",
97
- "BC5CDR-chem-IOB":"""The corpus consists of three separate sets of
98
- articles with diseases, chemicals and their relations annotated.
99
- The training (500 articles) and development (500 articles) sets
100
- were released to task participants in advance to support text-mining
101
- method development. The test set (500 articles) was used for final
102
- system performance evaluation.""",
103
- "BC5CDR-disease-IOB":"""The corpus consists of three separate sets of
104
- articles with diseases, chemicals and their relations annotated.
105
- The training (500 articles) and development (500 articles) sets
106
- were released to task participants in advance to support text-mining
107
- method development. The test set (500 articles) was used for final
108
- system performance evaluation.""",
109
- "BC2GM-IOB":"""The BioCreative II Gene Mention task.
110
- The training corpus for the current task consists mainly of
111
- the training and testing corpora (text collections) from the
112
- BCI task, and the testing corpus for the current task
113
- consists of an additional 5,000 sentences that were held
114
- 'in reserve' from the previous task.
115
- In the current corpus, tokenization is not provided;
116
- instead participants are asked to identify a gene mention
117
- in a sentence by giving its start and end characters.
118
- As before, the training set consists of a set of sentences,
119
- and for each sentence a set of gene mentions
120
- (GENE annotations).
121
- """,
122
- "NCBI-disease-IOB":"""The NCBI disease corpus is fully annotated at the mention
123
- and concept level to serve as a research resource for the biomedical natural
124
- language processing community.
125
- Corpus Characteristics
126
- ----------------------
127
- * 793 PubMed abstracts
128
- * 6,892 disease mentions
129
- * 790 unique disease concepts
130
- * Medical Subject Headings (MeSH®)
131
- * Online Mendelian Inheritance in Man (OMIM®)
132
- * 91% of the mentions map to a single disease concept
133
- **divided into training, developing and testing sets.
134
- Corpus Annotation
135
- * Fourteen annotators
136
- * Two-annotators per document (randomly paired)
137
- * Three annotation phases
138
- * Checked for corpus-wide consistency of annotations
139
- """,
140
- "JNLPBA":"""The BioNLP / JNLPBA Shared Task 2004 involves the identification
141
- and classification of technical terms referring to concepts of interest to
142
- biologists in the domain of molecular biology. The task was organized by GENIA
143
- Project based on the annotations of the GENIA Term corpus (version 3.02).
144
- Corpus format: The JNLPBA corpus is distributed in IOB format, with each line
145
- containing a single token and its tag, separated by a tab character.
146
- Sentences are separated by blank lines.""",
147
-
148
- "BIOSSES": """BIOSSES is a benchmark dataset for biomedical sentence similarity estimation. The dataset comprises 100 sentence pairs, in which each sentence was selected from the [TAC (Text Analysis Conference) Biomedical Summarization Track Training Dataset](https://tac.nist.gov/2014/BiomedSumm/) containing articles from the biomedical domain. The sentence pairs in BIOSSES were selected from citing sentences, i.e. sentences that have a citation to a reference article.
149
- The sentence pairs were evaluated by five different human experts that judged their similarity and gave scores ranging from 0 (no relation) to 4 (equivalent). In the original paper the mean of the scores assigned by the five human annotators was taken as the gold standard. The Pearson correlation between the gold standard scores and the scores estimated by the models was used as the evaluation metric. The strength of correlation can be assessed by the general guideline proposed by Evans (1996) as follows:
150
- - very strong: 0.80–1.00
151
- - strong: 0.60–0.79
152
- - moderate: 0.40–0.59
153
- - weak: 0.20–0.39
154
- - very weak: 0.00–0.19
155
- """
156
- }
157
-
158
- HOMEPAGES = {
159
- "blurb": "https://microsoft.github.io/BLURB/index.html",
160
- "BC5CDR-chem-IOB":"https://biocreative.bioinformatics.udel.edu/resources/corpora/biocreative-v-cdr-corpus",
161
- "BC5CDR-disease-IOB":"https://biocreative.bioinformatics.udel.edu/resources/corpora/biocreative-v-cdr-corpus",
162
- "BC2GM-IOB": "https://biocreative.bioinformatics.udel.edu/tasks/biocreative-ii/task-1a-gene-mention-tagging/",
163
- "NCBI-disease-IOB":"https://www.ncbi.nlm.nih.gov/CBBresearch/Dogan/DISEASE/",
164
- "JNLPBA":"http://www.geniaproject.org/shared-tasks/bionlp-jnlpba-shared-task-2004",
165
- "BIOSSES":"https://tabilab.cmpe.boun.edu.tr/BIOSSES/DataSet.html",
166
-
167
- }
168
-
169
-
170
- DATA_URL = {
171
- "blurb": None,
172
- "BC5CDR-chem-IOB": "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/raw/master/data/",
173
- "BC5CDR-disease-IOB": "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/raw/master/data/",
174
- "BC2GM-IOB": "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/raw/master/data/",
175
- "NCBI-disease-IOB": "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/raw/master/data/",
176
- "JNLPBA": "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/raw/master/data/",
177
- "BIOSSES": "https://raw.githubusercontent.com/Markus-Zlabinger/ssts/fce78a649ab90269950aaf44ce20a36e94409392/data/biosses/all.tsv",
178
- }