Word add-in for ontology recognition: semantic enrichment of scientific literature
© Fink et al. 2010
Received: 16 December 2009
Accepted: 24 February 2010
Published: 24 February 2010
Skip to main content
© Fink et al. 2010
Received: 16 December 2009
Accepted: 24 February 2010
Published: 24 February 2010
In the current era of scientific research, efficient communication of information is paramount. As such, the nature of scholarly and scientific communication is changing; cyberinfrastructure is now absolutely necessary and new media are allowing information and knowledge to be more interactive and immediate. One approach to making knowledge more accessible is the addition of machine-readable semantic data to scholarly articles.
The Word add-in presented here will assist authors in this effort by automatically recognizing and highlighting words or phrases that are likely information-rich, allowing authors to associate semantic data with those words or phrases, and to embed that data in the document as XML. The add-in and source code are publicly available at http://www.codeplex.com/UCSDBioLit.
The Word add-in for ontology term recognition makes it possible for an author to add semantic data to a document as it is being written and it encodes these data using XML tags that are effectively a standard in life sciences literature. Allowing authors to mark-up their own work will help increase the amount and quality of machine-readable literature metadata.
In the current era of scientific research, efficient communication of information is paramount. Scientists are uncomfortably aware of the exponential growth of digital literature archives and the disproportionate growth of effective data-mining tools. It is currently a major effort in the bioinformatics community to automate the extraction of knowledge from literature [1, 2]. Automated knowledge extraction is crucial for 21st century research, especially as research is becoming increasingly more interdisciplinary, needs to be easier to navigate, needs to support the translation of natural language to information quanta, and needs to support data integration efforts [3–5]. In response, the nature of scholarly and scientific communication is changing; cyberinfrastructure is now absolutely necessary and new media are allowing information and knowledge to be more interactive and immediate [6, 7].
While this revolution in scholarly communication has been imminent, the approach to dealing with it has not evolved at the same pace. Many basic tools to assist in knowledge extraction from literature already exist (such as cyberinfrastructure, electronic databases, ontologies, and machine-readable document standards), but the scientific community has yet to use them effectively on a large scale. The Semantic Web - an extension of the World Wide Web that enables more meaningful use of electronic resources via automated processes - is an ideal platform for these efforts [8–10], but there is a significant gap to be bridged between the providers and users of the information and the structure of the information. In a recent review Krallinger, Valencia, and Hirschmann nicely summarize the current challenges and resultant applications in the biological sciences which attempt to bridge this divide . Ruttenberg et al. discuss the activities of the Semantic Web Health Care and Life Sciences Interest Group (HCLSIG) which aims to explore and enable the Semantic Web in biomedical domains .
One notable innovation is the creation and application of ontologies - specifications of entities, their attributes, and relationships to other entities in a defined domain. Ontologies underpin our efforts to translate natural language into quantized, standardized information. In the biological sciences, ontologies have attained so much popularity that it has been suggested that their proliferation is increasing in tandem with biological data [12, 13]. Considering that the creation of an ontology can require years of work by a large team of experts, this popularity underscores the perceived importance of these efforts. The Gene Ontology in particular is currently widely used in the annotation of many of biological databases . However, the reliable assignation of an ontology term to an entity in one of these databases necessitates a manual review by expert biocurators - a slow process and one that does not scale to the current level of research output .
A particularly advantageous use of ontologies is applying them to scientific literature in order to automatically identify, or infer, terms from one or more ontologies in the text of a document. Several groups have made significant contributions here, although every method has limited accuracy (see [1, 2, 15–21] for a few examples). Another challenge that is equally daunting is making these data available in the most useful and easily accessible way possible. Currently, the results from automated literature annotation projects are distributed over a number of databases and websites and there is no unified method of either storing or distributing these data. Two excellent approaches to resolve these issues, at least in part, have been undertaken by both authors and publishers. The Royal Society of Chemistry Publishing Group's Project Prospect1 has semantically enriched all articles published in their journals in a machine-readable way. The project won the 2007 ALPSP/Charlesworth Award for Publishing Innovation, a strong indicator of community approval and interest because the judging panel represented not only publishers, but also scientists and librarians. A similar approach for a single article was undertaken by bioinformaticians in collaboration with the original article authors, and serves as an elegant example of how much can be gained by both semantic enrichment and author-assisted curation [22, 23]. Both initiatives use their own mark-up syntax.
These projects illustrate the need for, and promise of, semantic enrichment, but there is a noticeable dearth of tools that assist authors in these efforts. Several exist, but have been developed for specific groups of users or very specific applications and are generally not publicly available for use or modification. A few others are available, such as the domain-agnostic Semantic MediaWiki extension2 and WYSIWYM [24, 25], and the biomedical-specific OnTheFly , but these lack ease of use, flexibility, extensibility, or do not allow for author-mediated curation.
As a community, we are certainly making progress in automated approaches for inferring and assigning semantic data in literature. However, this process will likely never be perfectly accurate or complete. There are three points that virtually all researchers interested in these efforts will agree upon: 1) adding semantic data to scientific articles is highly beneficial (indeed necessary for the Semantic Web path); 2) accurate and complete inference of these data without at least some human expert curation is not currently possible; and 3) accurate and complete inference of these data after the document has been made widely available is an intractable problem. To overcome these challenges, we must prevail upon the authors to assign semantic data to their articles prior to publication or distribution. The Word add-in presented here will assist authors in this effort using community standards and by making it possible for the author of the document, the absolute expert on the content, to do so during the authoring process and to provide this information in the original source document.
This software functions as an add-in for Microsoft Word 2007. It was developed using the .NET platform and can be installed via a Windows installer. The add-in relies on two key features of Word 2007, its default use of a XML based file format (Office Open XML, specified by ISO/IEC, IS 29500, and Ecma International, Ecma 376, international standards) and Word's extensibility, both at the user interface and file format levels. At runtime, the add-in generates and stores a configuration file on the end-user's system.
The add-in presents a custom ribbon, a new user interface element introduced in Word 2007, a side panel, and custom dialogs to interact with the end-user. It was a design goal to shield the author from having to be aware of the underlying file format or XML tags. Instead, the goal was to present a user experience that was as intuitive as possible, and that assisted the end-user in their task in a largely automated fashion. The add-in also relies on the Smart Tag architecture in Word, which enables actions to be presented to end-users based on text in the document being recognized through regular expressions or text matching.
The add-in contains knowledge of the National Center for Biomedical Ontology (NCBO) BioPortal [12, 27] and three major biological databases: the Protein Data Bank (PDB), the UniProt Knowledgebase (UniProtKB) , and the NCBI databases GenBank and RefSeq [29, 30]. When the end-user selects an ontology, the add-in downloads the ontology file via NCBO web services. The biological database identifiers are recognized via pattern matching.
Ontology Term Mark-up
<named-content content-type="biolit" id="ncbo_id=X;term_id=Y:Z;term=Q;url=http://H">
Example with data
Note: url=http://HHH is optional
Database Identifier Mark-up
<ext-link xlink:href="http://linktodatabase" ext-link-type="databaselabel">
Example with data
Hovering over a marked-up term will produce a new Smart Tag menu option to mark-up all recognized instances of the same term with the same mark-up. The user can also choose to stop recognizing a term.
The add-in uses pattern matching to recognize database identifiers. When an identifier corresponding to one of the supported databases is typed, the add-in will identify the database(s) to which this identifier belongs and generate a Smart Tag with the options to mark-up or ignore the ID. The add-in uses the following regular expressions to match PDB, UniProtKB, and NCBI identifiers:
Protein Data Bank
NCBI (GenBank, RefSeq)
Database identifiers are expected to be preceded by a space.
Ontologies may be added, updated, or removed via the configuration panel. Similarly, recognition of each database may be selected and unselected.
Ontology browse and search capabilities are available in the Info Pane. The browser allows a user to select an ontology and then navigate through it to view terms and their relationships. Alternatively, a user may search for the existence of a term. The Info Pane may be useful for finding terms that are not recognized, but probably should be, or for finding the context and definition of a term.
In the instances of terms that are semantically important, but are not recognized by an available ontology, an existing ontology term can be applied by right-clicking on the term of interest in the manuscript, navigating to the desired ontology term in the browser, and clicking "Mark-up Selection". For example, a user may use the term "hairy T cell leukemia", which will not currently be recognized; the equivalent ontology term "Leukemia, T-Cell, HTLV-II-Associated" can then be selected and applied while maintaining the original term in the manuscript text.
There are often situations in which a manuscript is shared among several authors. In the event that one author is not using the add-in, any XML added via the add-in by a different author is maintained although not displayed. It can be displayed if that author chooses to use the add-in later.
The expressivity of the NLM XML tags we have chosen to use is admittedly somewhat limiting and awkward for ontology terms, but we place a higher priority on conforming to existing standards with the expectation that the add-in will evolve with the community. For example, the representational model RDF is gaining in acceptance in the biomedical domain [5, 31, 32] and the Semantic Web Health Care and Life Sciences Interest Group (HCLSIG) is working with NLM to translate their resources to RDF .
The CodePlex site, which hosts the source code and compiled add-in, supports active discussions between users and developers and allows users to report bugs and request features. So far, the add-in has received interest from a wide range of bodies including repositories, academic groups, pharmaceutical companies, and electronic biological resources. In many of these cases, users have a custom ontology that they wish to use for a very specific application. There is at least one implementation of a parser for the marked-up .docx files. Some users have mentioned that they would prefer a simpler mark-up scheme. The add-in was initially developed for use with life sciences literature, hence the incorporation of the NLM XML tags. However, the open source code could easily be changed to use a different schema and generate an alternate add-in that may well be of broader use to the community and succeed the existing add-in in popularity.
We have not been apprised by users of their particular use cases, but we suggest some possibilities here. Publishers that are interested in strengthening electronic versions of their paper may request that authors use the add-in to mark-up database identifiers. Many life sciences publishers already require authors to use GenBank or PDB IDs, when applicable, in their manuscripts; the add-in would be the next step in automatically linking the IDs in the electronic paper to those databases. Some institutions may request that all internal documents conform to a controlled vocabulary, thus ensuring consistency and improved searching of archived documents.
The Word add-in for ontology term recognition makes it possible for an author to add semantic data to a document as it is being written and it encodes these data using XML tags that are effectively a standard in life sciences literature. Allowing authors to mark-up their own work will help increase the amount and quality of machine-readable literature metadata. The add-in recognizes terms simultaneously from several ontologies so that authors can select as many as they need in order to have the best coverage of their topic. When terms exist in these ontologies, but are not recognized by the add-in because they do not match the author's usage, the author can select the word or phrase of choice and explicitly apply the appropriate ontology term to that text. This enables semantic mark-up while maintaining the flexibility and nuance inherent in written language.
The add-in facilitates the identification of appropriate terms via the ontology browser. The browser allows an author to search an ontology with a word or phrase and, if a result is found, it displays the matches within the hierarchy of the ontology. This provides context for the terms within the ontology so the author can make a more informed evaluation of that term. The author can also navigate through the hierarchy to explore adjacent terms for more general or more specific concepts. It should be noted that this display is not entirely complete for terms with multiple parentage; only one parent is used in the hierarchy. NCBO has a more sophisticated search and visualization capability that an author can use if a concept is particularly complex. The author can visit the NCBO BioPortal website and search all ontologies with keywords. The results will show any matching terms and the ontologies they are members of; each term can then be explored within the context of its ontology. If a term belongs to an ontology that has not already been selected in the add-in, this ontology can then be added via the configuration panel. The term of interest can then be navigated to in the InfoPane and applied to the desired word or phrase in the document.
The difficulties involved in any effort to add semantic mark-up are myriad and this add-in does not resolve all of them. While we think it is a significant step forward, it also highlights some of the more difficult challenges (see  for an illuminating discussion of these).
The use of ontologies is a solid initial step in defining what is effectively a controlled vocabulary for term recognition in natural language. These ontologies represent a vast amount of expertise and careful consideration across a wide range of domains. However, they were not created for automated term recognition so it is unsurprising that they are not a perfect fit for this application.
A desirable goal in the creation of an ontology is the inclusion of univocal terms - terms which are unambiguous and precise. For example, the Human Disease Ontology3 contains the term "Leukemia, T-Cell, HTLV-II-Associated," which is very precise and descriptive, but is not likely to appear verbatim in a manuscript and, thus, is not likely to be recognized in a string or pattern matching approach. The ontology creators recognized that terms may have different usages, so most ontologies assign synonyms to the preferred usage of a term. These synonyms can be used in addition to the preferred term to increase the chance of successfully inferring a semantically important word. For example, the synonym for the aforementioned term, "Atypical hairy cell leukemia (disorder)," is a bit more natural and easier to automatically recognize, but actual papers that discuss this disease use "hairy cell leukemia", "hairy-cell leukemia", "hairy T cell leukemia", and "T cell hairy leukemia," terms that are not included in the ontology synonym list [34–38]. "Hairy cell leukemia" is a separate (less specific) term in this ontology, parent to "Leukemia, T-Cell, HTLV-II-Associated" but also to 12 other distinct leukemias.
There are occasions when it is not always desirable to use such precise terms when writing a manuscript. General concepts are often necessary, for example, the Human Disease Ontology term "leukemia." However, when a term is less precise it may have different conceptual meanings. The Human Disease Ontology and Family Health History Ontology  both contain the term "leukemia," but define the term alternately as a disease and a medical diagnosis - subtle, but potentially significant, distinctions. Although the add-in allows an author to associate any word or phrase with a specific ontology term, this requires an extra step by the author (at least once per document).
Rather than invent an ontology alternative to address these problems, a possible adaptation to existing ontologies might be the inclusion of an additional set of synonyms for a term that reflect its use in natural language. Automated finding of these types of synonyms in extant literature is feasible (if not entirely accurate) using heuristic approaches . Synonyms found in this manner, or gathered from term-mapping databases [41–44], could be used as a supplement to the ontologies. Incorporating a more sophisticated term recognition approach such as term normalization or other heuristic rules (for example [45–49]), into the add-in would also likely be a significant improvement.
Regardless of the automated recognition approach, human disambiguation of terms and synonyms would still require some consideration by the author to ensure that the intended meaning is accurately conveyed. Even professional biocurators do not always agree on the most appropriate terms to assign to concepts in an article . For an author who lacks familiarity with ontologies or literature curation, the process of trying to first identify the semantically important words and phrases in their manuscript and then the most appropriate term to use to describe them could prove to be too challenging, at least without clear guidelines from the intended manuscript recipient [51–53]. These difficulties may be magnified if co-authors of the manuscript disagree on term usage. Initiatives such as ODIE4 show that establishing a feedback loop between ontology developers and ontology users frequently results in the discovery of new, relevant terms to add to existing ontologies. Ontology developers from the Gene Ontology, for example, have expressed keen interest in creating such a system within this add-in and we intend to explore this in a future version. Ideally, we would also like to be able to enable recognition and mark-up of relations between terms, but this is a significant challenge in its own right and is beyond the scope of the current project.
Although these challenges in the semantic enrichment of literature have not yet been resolved, we believe that the add-in is a significant advance and that it may provide the necessary stimulus to engage researchers beyond the bioinformatics community. Importantly, this add-in can work in concert with the Article Authoring add-in5 which converts a .docx manuscript into the National Library of Medicine's XML format6 - required for deposition of articles in PubMed Central and used by many life sciences publishers. The combined use of these add-ins would generate a document that maintains author-added semantic metadata and can be incorporated directly into these workflows without any further effort on the part of publishers or archives. Feedback during practical use from a broad and large user-base will help define any barriers to common use and will guide the design of an interface that can lower those barriers. Few of us want to spend yet more time and effort writing or typesetting papers, but if this effort culminated in a reference to the paper from a database or other resource, authors would likely be rewarded with an increased citation rate and wider readership, in addition to an overall improvement in the accessibility of knowledge.
Download: The add-in and source code are publicly available at http://www.codeplex.com/UCSDBioLit. No registration, login, or material transfer agreement is required.
Requirements: Windows XP or Vista; Word 2007
License: Microsoft Public License (Ms-PL), an Open Source Initiative (OSI)-approved license7
This project was supported by the External Research group at Microsoft Corporation, specifically with the involvement of Lee Dirks and Tony Hey. Lee Dirks has been responsible for evangelizing the add-in with different communities. Tony Hey sponsored the overall development of the add-in.
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.