Hymenoptera, the insect order that includes sawflies, bees, wasps, and ants, exhibits an incredible diversity of phenotypes, with over 145,000 species described in a corpus of textual knowledge since Carolus Linnaeus. In the absence of specialized training, often spanning decades, however, these articles can be challenging to decipher. Much of the vocabulary is domain-specific (e.g., Hymenoptera biology), historically without a comprehensive glossary, and contains much homonymous and synonymous terminology. The Hymenoptera Anatomy Ontology was developed to surmount this challenge and to aid future communication related to hymenopteran anatomy, as well as provide support for domain experts so they may actively benefit from the anatomy ontology development. As part of HAO development, an active learning, dictionary-based, natural language recognition tool was implemented to facilitate Hymenoptera anatomy term discovery in literature. We present this tool, referred to as the ‘Proofer’, as part of an iterative approach to growing phenotype-relevant ontologies, regardless of domain. The process of ontology development results in a critical mass of terms that is applied as a filter to the source collection of articles in order to reveal term occurrence and biases in natural language species descriptions. Our results indicate that taxonomists use domain-specific terminology that follows taxonomic specialization, particularly at superfamily and family level groupings and that the developed Proofer tool is effective for term discovery, facilitating ontology construction.
Citation: Seltmann KC, Pénzes Z, Yoder MJ, Bertone MA, Deans AR (2013) Utilizing Descriptive Statements from the Biodiversity Heritage Library to Expand the Hymenoptera Anatomy Ontology. PLoS ONE 8(2): e55674. https://doi.org/10.1371/journal.pone.0055674
Editor: Corrie S. Moreau, Field Museum of Natural History, United States of America
Received: November 13, 2012; Accepted: December 29, 2012; Published: February 18, 2013
Copyright: © 2013 Seltmann et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Funding: The Hymenoptera Anatomy Ontology was initially funded in part by NSF grants BDI-0446224, EF-0337220, and DEB-0328922. Primary funding for this project was from NSF DBI-0850223 (http://www.nsf.gov/awardsearch/showAward?AWD_ID=0850223). Additional support for Zsolt Pénzes was from TÁMOP-4.2/B-09/1/KONV-2010-0005, KTIA-OTKA CNK 80140, and HURO/0901/205/2.2.2. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
The vast majority of our biological knowledge exists only in printed, prosaic natural language, or ‘analog’ texts . This situation is equally true for the field of descriptive taxonomy, the subdomain of biology responsible for describing organisms and classifying them into nested sets cataloged with scientific names (i.e. taxa). Publication protocol for the description of a new animal species requires that an organism ‘diagnosis’ (list of distinguishing characteristics) for each new taxon be published in a journal in accordance with the International Code of Zoological Nomenclature  and until 2011 these journals had to be printed in journals with paper copies. Recent modifications in the code now allow for entirely electronic publication under certain conditions . Language usage for these diagnoses is dependent on the describing authors, journal editors, and reviewers of the manuscript, without standardized vocabularies across domains. Analog descriptions about our domain (Hymenoptera) posed a challenge for development of the Hymenoptera Anatomy Ontology (HAO)  as well as other anatomy ontology projects, which aim, in part, is to capture lexica from legacy literature. The primary goal of this effort was to propose a method of efficiently surveying the literature for terms (definition of term sensu Seltmann et al., 2012)  and in the process observe trends by analyzing term occurrence in species descriptions. The collected anatomical (i.e. morphological) terms were applied to the construction of the HAO, based on principles of structural similarity ,  enabling future diagnoses to be tied a priori to a structured vocabulary that is detailed enough in morphological terminology to be effective for comparable and accurate descriptions , .
Materials and Methods
In the biological sciences one of the important and growing online resources is the Biodiversity Heritage Library (BHL) , a clearinghouse for legacy literature, all of which is scanned and subsequently optically character recognized (OCRed). The International Society of Hymenoptera (ISH)  archives its Journal of Hymenoptera Research (JHR) in the BHL. We extracted OCR text for JHR (1993–2007, the latest year available at the time of data collection) from the BHL and manually partitioned the 353 articles for upload into the mx database . Mx is a Web-based, open source set of tools for descriptive taxonomy with recent advances to support collaborative ontology development. When this exercise was conducted the BHL Application Programming Interface (API) did not return OCR of specific articles, only of entire issues of the journal. Processing of the BHL OCR required manually cutting and pasting the text into the database. We made no attempt to correct the OCR output. Associated metadata, including reference citation, was associated with each article. Citations were collected using Zotero  after Google Scholar  searches returned citations in Endnote  format, and these citations were then uploaded into the mx database using a custom Endnote importation tool.
Once the articles were in the database, a simple dictionary-based, entity recognition tool was developed in mx to match terms captured for the HAO within blocks of text. The tool, or ‘Proofer’, uses string matching, allowing for commonly found exceptions and special cases, thus reducing the impact of malformed OCR commonly found in the BHL-delivered JHR text. The Proofer displays for the user a list of matches on terms in the ontology (highlighted and linked to the display page for that term; figure 1-A) but also presents a proposed list of terms that could be added to the database if the user chooses. In order to create this list, sentences are first broken down into phrases by splitting sentences at small words (1–3 characters long), removing those small words, and splitting at punctuation (period, comma, semi-colon, etc). These phrases are then displayed to the user in a list format starting with a single unmatched word, or term not already in the database, and 1–5 flanking words expanded from left to right (figure 1-C). Users then browse the list of proposed unmatched terms and select those that should be added to the database; thus user (human) input is necessary in the final addition of terms to the database. Adding flanking words reveals more complex anatomical labels such as ‘propleural arm muscle’ where ‘propleural arm’ may already be a label in the database but ‘propleural arm muscle’ may not. All terms added in this manner were annotated (‘tagged’) as JHR-BHL entered objects so that future analyses of the terms collected during this exercise was possible (tag field illustrated, figure1-B). Also, in order to reduce the number of potential terms presented to the reviewer, active learning  was employed in a feedback mechanism between application and user.
Possible additional new terms are proposed for the user to include.
Words presented to the user for possible inclusion into the database that are not selected by the user are added to a stop words table. If a word is rejected by the user 10 times (i.e. from ten separate articles) that word is added to the final stop words list and no longer presented in subsequent articles, thus reducing the total number of words presented to the user for evaluation. Links to the source code for mx (including the Proofer) are available in the Supplementary Material (S1).
Comparison to Related Text Processing Applications
CharParser  and GoldenGATE – are both applications for examining taxonomic descriptions contained in legacy literature. GoldenGATE is an editor for marking up the text of an entire article, and transforming it into an XML structured document following TaxonX schema. It uses sophisticated pattern matching rules along with subsequent human editing to define a document’s structure. Among the elements identified are the general sections of a ‘taxonomic treatment’, external identifiers (LSIDs), and taxon names. At the present time, individual descriptive statement mark-up has not been realized in GoldenGATE, although interest does exist to include character level semantic annotation in the TaxonX schema . CharParser is a semi-automated semantic annotation system, capturing individual descriptive statements in a structured XML document. In order to facilitate annotation, CharParser develops an independent glossary of qualitative and quantitative terms during the text mining and training process. This aspect of the CharParser application is similar to the Proofer, as it is a lexicon builder enhanced by a human user. CharParser, however, attempts to attain not only the term from a publication, but also to discern its inherent meaning. This is analogous to the Proofer tool plus mx database, as terms collected by the Proofer are eventually associated with ontology concepts via later stages of the ontology building process by domain experts.
Other string matching software exists for examining BHL-generated OCR text, primarily focused on taxon name discovery. TaxonFinder  and NetiNeti  determine relevant BHL articles for a user by utilizing a controlled vocabulary, or taxon name lists. Although anatomy ontology term usage in descriptive articles has potential as a viable method for literature discovery, at present the Proofer only examines articles specifically chosen for evaluation by a user, i.e. those identified as descriptive works in the domain of interest.
Analysis of Collected Terms
For each of the 353 articles a small amount of metadata (as ‘tags’) was captured in the database to facilitate creating lists of terms specific for analysis. First, the articles were reviewed and placed into one of two categories: ‘description of new taxon’ or ‘non-description’. Articles were deemed descriptive based on the use of the words ‘description of’ in the article title or if taxonomic treatments were contained within the body of the article. Additionally for each article, the name of the taxon being described was captured in the database at the family level. Finally, terms representing morphological (i.e. anatomical) concepts and those representing qualitative concepts were differentiated.
The resulting data were then used to produce text files useful in R  (version 2.11.1), creating an occurrence (presence/absence) matrix using anatomical terms as characters and articles as terminals, with each article tied to a taxon as described within the article. Terms designated as characters were limited to morphological terms and totaled 816. Qualitative terminology (i.e. ‘shiny’, ‘brown’, ‘rugulose’) was not included in the dataset. The terms ‘cell’, ‘area’ and ‘costa’ were removed from the character list as these terms are commonly used in other disciplines besides descriptive biology and often had non-morphological meaning in descriptions. 179 articles were used as terminals, representing 35 families and 10 superfamilies.
Synonyms and plural terms were summed in the analysis and terms were analyzed as they were recorded in the database. The characters were scored in a binary matrix as presence (1) or absence (0) of the term occurrence within the text of a given article. Four permutations of the matrix were created based on the occurrence of a term. Analyses were preformed that included terms that occurred 2, 10, 50 and 100 times in at least one article. Choosing articles for analysis based solely on occurrence of a term in all articles did not retrieve discrete articles sets at higher numbers, as common terms (figure 2) are ubiquitous. Restricting the terms included in analysis limited the number of included terms to: 796, 500, 123 and 40 respectively (figure 3).
Terms in this figure are ranked based on occurrence among all articles (how many articles a term occurred). Number on chart and size of pie represents the number of total times the term occurred in all articles.
In order to assess the occurrence of terms contained within articles, matrices were investigated using agglomerative hierarchical clustering methods performed in the R  (version 2.11.1) using packages ‘stats’ , ‘simba’ , ‘vegan’ , and ‘ape’ . The range of recovered groups (clusters) on the trees varied from 59–160 based on which analysis method was used (see figure 4 below). Groups were revealed by trimming trees after analysis, and evaluated based on two criteria. First, family and superfamily membership was assigned to each terminal, based on the taxa described in the article. A family or superfamily is a group of organisms based on shared characteristics, associated together under the auspices of the classification hierarchical system, under which other groupings (tribe, subfamily, genus, species) are clustered. Superfamilies are groups that contain multiple families. These families and superfamilies are generally listed in the analyzed journal article; if not, the taxon was placed according to our present understanding of Hymenoptera relationships. Once terminals (taxa) were assigned to a family/superfamily the trees were pruned according to these groups. For example, if two terminals belonged to the same family, and reached the next internal node, they were considered belonging to the same group. Ideally, 10 groups of superfamilies and 37 of families was expected, as this is the number of Hymenoptera families/superfamilies published in the JHR articles used in the analysis.
The grouping of terminals on the basis of binary characters was extensively investigated by agglomerative hierarchical clustering using the linkage methods (single, complete, average (UPGMA)  and McQuitty (WPGMA)) and neighbor-joining (NJ) . Figure 4 outlines the range of outcomes based on which clustering method was chosen. The former result in ultrametric trees (dendrograms, which are ‘rooted’), while the result of the NJ method approaches an additive tree (unrooted) that is based on optimization of the distance on the whole tree . Seven different metric distances were selected, 3 of which were symmetric (incorporate absence matching) and 4 were asymmetric (absence matching is ignored) as follows Kaufman & Rousseeuw, 1990  and Legendre and Legendre 1998 . The Sorensen-Average results tree is included (figure 5) to visually illustrate the grouping results because it most accurately follows groupings expected for Hymenoptera. All other trees and analysis files are available in the supplementary material (S2).
From the 353 articles we collected 1189 new morphological terms used by Hymenoptera taxonomists. These were added to the mx database, augmenting the development of the Hymenoptera Anatomy Ontology. The Proofer tool developed to assist analysis of these articles improved the efficiency of term extraction from legacy literature by reducing the number of terms presented to the user for review. Comparison of the number of terms presented to the user with and without the Proofer stop words list for 25 randomly selected articles demonstrated that the Proofer stop word list reduced the number of terms displayed to the user by 1/3 of the total actual word count of the article, which was an 80% reduction in the number of combinations of words displayed to a user by the Proofer tool.
180 of the 353 articles were identified to contain descriptions of new taxa, wholly or in part. The most frequently found anatomical terms in those 180 articles are listed in figure 2.
The shortest tree was returned from the Sorensen Average cluster analysis, including characters that were coded for 2 or more terminals, and pruned to superfamily level. This tree results in 63 distinct groupings when the tree was pruned, with observable large clusters of Ichneumonoidea, Chalcidoidea, Symphyta, and Aculeata (figure 5).
The Proofer application and workflow presented here allows for reviewing descriptive text relatively quickly for new terms to supplement the construction of anatomy ontologies. The workflow required the input of domain experts, and open access publications, resulting in the collection of 1189 new terms for the HAO. Although the Proofer tool accumulated numerous terms for inclusion in the HAO, mapping terms to existing classes or creating ontology compliant definitions for those concepts requires further expertise and citation. At present only 144 of the collected terms are tied to HAO concepts. To define concepts, HAO curators initially selected literature that was generally inclusive, taxonomically, of Hymenoptera (including glossary and online resources). This process was done, in part, prior to looking at the BHL JHR articles. Most of the very common terms were already included in the database prior to the term discovery exercise, leaving predominantly highly granular, and superfamily-specific terms used in taxonomic descriptions to be discovered using the Proofer, accounting for the low number of these terms presently fully incorporated in the HAO. These terms will be utilized as the HAO continues to grow, and curators focus on publications from domain experts working exclusively within superfamilies, as this is where the term granularity is demonstrated.
The importance of domain expertise in the process of incorporating these terms cannot be overstated. Jenesen and Bork, 2010  clearly regards input from biologists as necessary for success in biomedical, ontology based literature mining and Dahdul et al.  described the importance of taxon experts for phenotype annotation curation. Our evaluation concurs with their observation and extends the thought to conclude that granular terminology is necessary to capture morphological variation, but it requires domain expertise, and evaluation of their publications, in the process, to identify these terms and fully utilize them in the ontology.
Cluster analysis lends evidence for the observation that the Hymenoptera community tends to use granular, domain-specific (i.e., taxon-specific) terminology. Datasets were analyzed extensively using different permutations of clustering methods and datasets delimited by term occurrence. As expected, a high amount of variation in the number of groups recovered was observed in the analysis results. Not all hymenopteran families were in analysis, because taxonomic descriptions of some groups were not published in JHR between 1993–2007. Also, there is a strong bias in the number of papers concerning Ichneumonoidea and Chalcidoidea represented. This is due, in part, to the large number of taxonomists interested in these diverse superfamilies. Despite these idiosyncrasies in the data obvious groupings for Ichneumonoidea, Chalcidoidea, “Symphyta” and Aculeata were retrieved. On a more detailed level, many family level groupings were recovered, demonstrating that we can group articles, and those taxa described in the articles, simply by the terms used to describe those organisms. In the comparison of cluster analysis, the number of clusters recovered decreased with an increase of characters (terms) used in the analysis. The terms found more commonly are generally used across Hymenoptera. Terms like head, wing, and carina are almost universally used, and thus provide very little signal to group articles. In order to capture the variation in the terminology of the authors, to manifest any observable signal in the analysis, much less frequently used terms needed to be included.
The corpus of biological literature will continue to grow and with it the need for more automated methods to utilize and discover the information contained within the articles. Natural language processing methods for biological data discovery is only possible through open access publications, and efforts such as the Biodiversity Heritage Library to make legacy literature freely available. This exercise to observe trends in the terminology illustrates how the accessibility to literature facilitates anatomy ontology construction, and an underlying community trend toward domain specificity and, thus, disparate term usage, one of the primary justifications for unifying Hymenoptera terminology through the HAO.
The most recent version of mx code, including the Proofer tool, is available through SourceForge (http://purl.oclc.org/NET/mx-database). The specific version of mx used during analysis is archived on SourceForge and in this combined file.
The specific JHR BHL article list, list of terms present in the mx database, and R-scripts used in analysis are supplied in this combined file. These files, and all resulting trees, are additionally archived in the Dryad data repository (doi:10.5061/dryad.3g57k).
The authors thank Elizabeth MacLeod, Andrew Ernst, and Patricia Mullins for being the representative users for a great number of the articles, Dr. Beth Gardner from NCSU Department of Forestry and Environmental Resources, and the International Society of Hymenopterists for having the forethought and inclination to put their journal on the Biodiversity Heritage Library Website.
Wrote the software: MJY KCS ZP. Conceived and designed the experiments: KCS ZP MJY MAB ARD. Performed the experiments: KCS ZP MAB MJY. Analyzed the data: KCS ZP. Contributed reagents/materials/analysis tools: ZP MJY KCS. Wrote the paper: KCS ARD ZP MAB MJY.
- 1. Bodenreider O (2006) Lexical, terminological and ontological resources for biological text mining. In: Ananiadou S, McNaught J, editors. Text Mining for Biology and Biomedicine. Boston and London: Artech House. 43–66.
- 2. International Code of Zoological Nomenclature website. Available: http://iczn.org/code. Accessed 2012 Oct 8.
- 3. International Commission on Zoological Nomenclature (2012) Amendment of Articles 8, 9, 10, 21 and 78 of the International Code of Zoological Nomenclature to expand and refine methods of publication. ZooKeys 219: 1–10 .
- 4. Yoder MJ, Mikó I, Seltmann KC, Bertone MA, Deans AR (2010) A gross anatomy ontology for Hymenoptera. PLoS ONE 5: e15991.
- 5. Seltmann K, Yoder M, Miko I, Forshage M, Bertone M, et al. (2012) A hymenopterists’ guide to the Hymenoptera Anatomy Ontology: utility, clarification, and future directions. Journal of Hymenoptera Research 27: 67.
- 6. Vogt L, Bartolomaeus T, Giribet G (2009) The linguistic problem of morphology: structure versus homology and the standardization of morphological data. Cladistics 26: 301–325 .
- 7. Deans AR, Yoder MJ, Balhoff JP (2012) Time to change how we describe biodiversity. Trends in ecology & evolution 27: 78–84 .
- 8. Mullins P, Kawada R, Balhoff J, Deans A (2012) A revision of Evaniscus (Hymenoptera, Evaniidae) using ontology-based semantic phenotype annotation. ZooKeys 223: 1–38 .
- 9. Biodiversity Heritage Library website. Available: http://www.biodiversitylibrary.org. Accessed 2011 Feb 1.
- 10. International Society of Hymenopterists website. Available: http://www.hymenopterists.org. Accessed 2012 Oct 1.
- 11. mx website. Available: http://purl.oclc.org/NET/mx- database. Accessed 2011 Mar 7.
- 12. Zotero website. Available: http://www.zotero.org. Accessed 2010 Mar 18.
- 13. Google Scholar website. Available: http://scholar.google.com. Accessed 2010 Mar 18.
- 14. Endnote website. Available: http://endnote.com. Accessed 2010 Mar 18.
- 15. Day D, Aberdeen J, Hirschman L, Kozierok R, Robinson P, et al.. (1997) Mixed-initiative development of language processing systems. Proceedings of the fifth conference on applied natural language processing. Morristown, NJ, USA: Association for Computational Linguistics. 348–355. doi:10.3115/974557.974608.
- 16. Cui H (2012) CharaParser for fine-grained semantic annotation of organism morphological descriptions. Journal of the American Society for Information Science and Technology 63: 738–754.
- 17. Sautter G, Böhm K, Agosti D (2007) Semi-automated XML markup of biosystematic legacy literature with the GoldenGATE editor. Pacific Symposium on Biocomputing 402: 391–402.
- 18. Agosti D, Egloff W (2009) Taxonomic information exchange and copyright: the Plazi approach. BMC Research Notes 2: 53.
- 19. Klingenberg C, Sautter G, Agosti D, Catapano T (2012) GoldenGATE XML Markup Editor Online User Manual. Available: http://plazi.org/?q=GoldenGATE. Accessed 2012 Dec 10.
- 20. Catapano T (2011) Personal Communication.
- 21. Leary PR, Remsen DP, Norton CN, Patterson DJ, Sarkar IN (2007) uBioRSS: tracking taxonomic literature using RSS. Bioinformatics (Oxford, England) 23: 1434–6.
- 22. Akella LM, Norton CN, Miller H (2012) NetiNeti: discovery of scientific names from text using machine-learning methods. BMC bioinformatics 13: 211.
- 23. R Development Core Team (2010) A language and environment for statistical computing. Vienna, Austria: R Foundation for Statistical Computing. Available: http://www.r-project.org. Accessed 2012 Dec 10.
- 24. Jurasinski G, Retzer V (2012) A Collection of functions for similarity analysis of vegetation data. Available: http://cran.r-project.org. Accessed 2012 Dec 10.
- 25. Oksanen J, Blanchet FG, Kindt R, Legendre P, O’Hara RB, et al.. (2010) vegan: Community Ecology Package. Available: http://cran.r-project.org. Accessed 2012 Dec 10.
- 26. Paradis E, Claude J, Strimmer K (2004) APE: Analyses of Phylogenetics and Evolution in R language. Bioinformatics 20: 289–290 .
- 27. Sokal RR, Michener CD (1958) A statistical method for evaluating systematic relationships. Univ Kans Sci Bull 38: 1409–1438.
- 28. Saitou N, Nei M (1987) The neighbor-joining method: a new method for reconstructing phylogenetic trees. Molecular biology and evolution 4: 406–25.
- 29. Kaufman L, Rousseeuw PJ (1990) Finding Groups in Data: An Introduction to Cluster Analysis. Hoboken, NJ, USA: John Wiley & Sons, Inc. 342. doi:10.1002/9780470316801.
- 30. Legendre P, Legendre L (1998) Numerical Ecology. 2nd ed. Amsterdam: Elsevier. 839 p.
- 31. Jensen LJ, Bork P (2010) Ontologies in quantitative biology: a basis for comparison, integration, and discovery. PLoS Biology 8: e1000374 .
- 32. Dahdul WM, Balhoff JP, Engeman J, Grande T, Hilton EJ, et al. (2010) Evolutionary characters, phenotypes and ontologies: curating data from the systematic biology literature. PLoS One 5: e10708 .