logo

Unit 4 WordNet

Learning outcomes

By the end of this unit you should:

  • understand WordNet structure and lexical relationships
  • utilize lexical databases for semantic analysis
  • implement word similarity and synonym detection
  • build applications using lexical resources
cube

Activity 1 Introduction to WordNet

Read about WordNet and lexical semantic databases.

WordNet is a large lexical database of English words organized into synonym sets (synsets) that are connected by semantic relationships. Developed at Princeton University, it groups words into sets of synonyms and maps relationships between concepts like hypernymy (is-a), meronymy (part-of), and antonymy (opposite-of).

Key WordNet concepts:

  • Synsets: Sets of synonymous words sharing the same meaning
  • Hypernyms: General terms (animal is hypernym of dog)
  • Hyponyms: Specific terms (dog is hyponym of animal)
  • Meronyms: Part-whole relationships (wheel is meronym of car)
  • Holonyms: Whole-part relationships (car is holonym of wheel)
  • Antonyms: Opposite meanings (hot/cold)
WordNet Semantic Hierarchy

Activity 2 Interactive lexical explorer

Explore WordNet relationships using the interactive tool.

Enter any word to discover its semantic relationships and navigate through the lexical network.

WordNet Lexical Explorer

Activity 3 WordNet with NLTK

Watch how to use WordNet programmatically with Python.

This video (10 minutes) demonstrates accessing WordNet through NLTK, exploring synsets, calculating semantic similarity, and implementing lexical analysis applications.

Activity 4 Semantic similarity calculator

Calculate semantic similarity between words using WordNet metrics.

This tool computes similarity scores between word pairs using path-based distance measures in the WordNet hierarchy.

Semantic Similarity Calculator

Activity 5 Synonym and antonym finder

Build an interactive tool for finding word relationships.

This application helps identify synonyms, antonyms, and related words using WordNet's lexical network.

Word Relationship Finder

Activity 6 Semantic networks

Watch how to visualize and navigate semantic networks.

This video (8 minutes) shows how to create visual representations of WordNet relationships and build interactive semantic network explorers.

Activity 7 Lexical application builder

Create a comprehensive lexical analysis application.

Combine WordNet features to build a complete lexical analysis tool that can process text and identify semantic relationships.

Lexical Analysis Application

Unit Review

Test your understanding of WordNet and lexical semantics:

Self-Assessment Quiz

1. What is a synset in WordNet?




2. What is the relationship between "animal" and "dog"?




3. Which measures semantic similarity in WordNet?