WordNet::Similarity - Measuring the Relatedness of Concepts
Ted PedersenSiddharth PatwardhanJason Michelizzi
Presents WordNet::Similarity, an open-source software package that implements nine standard semantic similarity and relatedness measures across WordNet concepts for applications in computational linguistics like word sense disambiguation.
Automated natural language processing systems require reliable methods to quantify how closely words and concepts relate to one another. While traditional similarity measures evaluate whether two items belong to the same category, real-world language frequently depends on broader relationships that cross grammatical boundaries, such as how an action connects to a tool. The article introduces and demonstrates WordNet::Similarity, an open-source software package designed to compute both semantic similarity and broader concept relatedness using the structured lexical database WordNet.
To achieve this, the software integrates nine distinct measurement algorithms implemented in Perl. It utilizes WordNet version 2.0, which contains 80,000 noun concepts across nine hierarchies and 13,500 verb concepts across 554 hierarchies. The system pairs these hierarchical structures with non-hierarchical relationships, definitions, and external text corpora such as SemCor, the Brown Corpus, the Penn Treebank, and the British National Corpus to calculate statistical and structural relationships between concepts.
The article establishes several key capabilities of the software suite. First, it provides six specialized similarity measures restricted to comparisons within the same part of speech; three calculate shortest path lengths across hierarchies, while three calculate information content derived from text corpora. Second, to overcome the limitation of isolated hierarchies, the package introduces optional hypothetical root nodes that unify all nouns and all verbs into single overarching structures. Third, it provides three broader relatedness measures that evaluate associations across different parts of speech by analyzing directional relationship paths, definition text overlaps, and co-occurrence vector spaces. Finally, the package offers multiple operational modes, including direct programming interfaces, command-line execution, web-based tools, and detailed diagnostic tracing.
These findings demonstrate that organizations can implement standardized, reproducible semantic scoring across diverse computational linguistics applications. The package has already been successfully incorporated into word sense disambiguation tasks through the SenseRelate tool, determining word meanings based on neighboring context. Furthermore, making the software freely available under the Gnu Public License provides a low-cost, flexible foundation for broader enterprise language technologies, including automated text generation systems.
Stakeholders and developers should leverage the software for text-processing workflows requiring semantic disambiguation or lexical selection. When implementing the tool, teams must choose between strict hierarchy-based similarity measures and broader definition-based relatedness measures depending on whether cross-part-of-speech comparisons are required. Ongoing work is currently exploring the integration of these measures to evaluate lexical choice within natural language generation pipelines.
Users should note that standard similarity measures remain strictly bounded by parts of speech and require the use of hypothetical root nodes or broader relatedness algorithms to compare dissimilar grammatical categories. In addition, measures relying on information content depend on the specific text corpus used for statistical weighting. The software is mature and fully accessible via public repositories, offering high confidence for operational deployment within its defined lexical boundaries.
- Paper: Using Information Content to Evaluate Semantic Similarity in a Taxonomy, Philip Resnik (1995). This seminal paper introduces the information-content measure of semantic similarity in WordNet that forms a foundational metric implemented in WordNet::Similarity.
- Paper: Semantic Similarity Based on Corpus Statistics and Lexical Taxonomy, Jay J. Jiang et al. (1997). It formulates the hybrid Jiang-Conrath metric combining edge-counting and corpus statistics, which is directly implemented as one of the core measures in WordNet::Similarity.
- Paper: An Information-Theoretic Definition of Similarity, Dekang Lin (1998). This paper presents Lin's information-theoretic universal similarity measure, which constitutes one of the primary taxonomy-based similarity measures supported by the software package.
- Paper: Verb Semantics and Lexical Selection, Zhibiao Wu et al. (1994). It defines the Wu-Palmer similarity metric based on taxonomic depth and least common subsumers, a central similarity measure packaged in WordNet::Similarity.
- Paper: Semantic Similarity in a Taxonomy: An Information-Based Measure and its Application to Problems of Ambiguity in Natural Language, Philip Resnik (1999). This work expands Resnik's information-based similarity framework and its empirical evaluation on taxonomy structures, providing essential theoretical grounding for the package's design.
- Paper: Computing Semantic Relatedness Using Wikipedia-based Explicit Semantic Analysis, E. Gabrilovich et al. (2007). It advances beyond WordNet-based similarity by using Wikipedia concepts in Explicit Semantic Analysis to measure semantic relatedness across unrestricted text.
- Paper: YAGO: A Core of Semantic Knowledge Unifying WordNet and Wikipedia, Fabian M. Suchanek et al. (2007). It extends WordNet's taxonomic structure by unifying it with Wikipedia to construct YAGO, enabling knowledge-base-scale semantic relations and reasoning.
- Paper: ConceptNet 5.5: An Open Multilingual Graph of General Knowledge, R. Speer et al. (2016). It builds upon lexical databases like WordNet to create ConceptNet 5.5, combining graph-based semantic relations with distributional embeddings for enhanced concept relatedness.
- Paper: From Frequency to Meaning: Vector Space Models of Semantics, Peter D. Turney et al. (2010). This survey provides a comprehensive synthesis of vector space models of semantics, contrasting distributional representations with the discrete taxonomy-based similarity metrics implemented in WordNet::Similarity.
- Paper: NLTK: The Natural Language Toolkit, Steven Bird (2006). It provides a broad natural language processing software framework in Python that integrates WordNet access and similarity computations into a general educational toolkit.
