Computer Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Lexical resources: WordNet, IndoWordNet, VerbNet and PropBank

Notes on lexical resources (WordNet, IndoWordNet, VerbNet, PropBank): definitions, structures, how engineers use them, examples and exam guidance.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Lexical resources give structured, machine-readable information about words and their meanings. Engineers use WordNet-family resources and predicate-argument banks when building word-sense disambiguation, information extraction, semantic search, question answering and multilingual NLP systems.

Key ideas

Exact description to write in an answer: "A synset = {lemma1, lemma2, ...} with a POS and a synset/sense identifier (e.g., dog.n.01), a gloss (short definition) and example sentences. WordNet records semantic relations between synsets (hypernymy, hyponymy, antonymy, meronymy, etc.)."

  • Lemma — the dictionary form of a word (for the purposes of resources). Example: "run" is the lemma for "runs" and "running".

  • Sense — one distinct meaning of a lemma. WordNet indexes senses; a lemma may have multiple senses (polysemy). Note: numeric sense numbers like ".01" are version-dependent; WordNet sense keys are stable identifiers.

  • Hypernym — a synset that represents a more general concept. Formal property: hypernymy is transitive (if A is a hypernym of B and B is a hypernym of C, then A is a hypernym of C).

  • Hyponym — the inverse of hypernym: a more specific concept. Hyponymy is transitive.

  • Antonym — words with opposite meanings; in WordNet, antonymy links are between word senses (lemmas within synsets), not between whole synsets.

  • Meronym — part-of relation (part → whole), e.g., "wheel" is a meronym of "car".

  • IndoWordNet (IWN) — A linked network of WordNets for Indian languages. Definition: IndoWordNet is a multilingual lexical network that aligns synsets across many Indian languages and English using a common synset identity. Important properties: synsets are language-neutral IDs; each language provides lemmas mapped to these synset IDs. Assumptions: translations across languages can be aligned at synset granularity (not always true in practice — see common mistakes). In many IndoWordNet projects, Hindi WordNet serves as a pivot during expansion.

    Key terms: equivalent relation (linking synsets across languages), lexical gap (a concept that exists in one language but lacks a direct lemma in another).

  • VerbNet — A verb lexicon grouped by verb classes. Definition: a VerbNet class is a set of verbs that share syntactic behavior and semantic roles. Each class contains: (1) thematic roles (like Agent, Patient, Theme, Recipient), (2) syntactic frames (argument realization patterns such as NP V NP, NP V NP PP[to]) and (3) semantic predicates per frame. Assumptions: verbs in a class behave similarly for argument structure and selectional preferences.

    Important: VerbNet is organized hierarchically; subclasses can inherit frames and roles.

  • PropBank (Proposition Bank) — A corpus-level annotation that adds predicate-argument structure to text. Definition: for each predicate (usually a verb) in context, PropBank assigns a roleset (predicate sense identifier) and labels each argument as ARG0, ARG1, ARG2, ... and adjuncts as AM-*. Roles (ARG0, ARG1, ARG2...) are predicate-specific but follow common mapping guidelines (e.g., ARG0 often maps to prototypical agent/causer, ARG1 to patient/theme). Assumptions: argument labels are defined relative to a predicate sense (rolesets) rather than absolute semantic roles.

  • Relations between resources and common uses

    • WordNet provides lexicographic relations (synonymy, hypernymy) useful for semantic similarity, query expansion and word-sense inventories.
    • IndoWordNet enables multilingual mapping and cross-lingual sense linking; useful for cross-lingual IR and MT for Indian languages.
    • VerbNet provides syntactic frames and roles that help in mapping surface syntax to semantics — useful for semantic role labelling (SRL) systems.
    • PropBank provides annotated corpora of predicate-argument structures used for training SRL models and evaluation. PropBank roles are simpler (numbered) and tied to corpus examples and rolesets.
    • SemLink provides mappings between PropBank rolesets and VerbNet/FrameNet classes, enabling interoperability and projection across resources.

Diagrams to draw for exam answers:

  • For WordNet: draw nodes for synsets as labelled ovals; connect hypernym edges upwards (label edges "is-a"). Include sample lemmas inside synset ovals and one gloss under each. Show an antonymy link (dashed line) between two lemmas.
  • For PropBank/VerbNet interplay: draw a verb token in a sentence, point to PropBank roles (ARG0/ARG1) anchored to token, and separately show VerbNet class listing roles {Agent, Theme, Recipient} and frames like "NP V NP NP" showing mapping to ARG labels.

Formulas

synset = {lemma1.POS.SID, lemma2.POS.SID, ...} — a synset is a set of lemmas with a POS and synset id (SID). Apply when representing a WordNet entry.

hypernym(s) : synset_child -> synset_parent — hypernym relation arrow notation; transitive.

IWN_mapping(lang_synset) = shared_synset_id — IndoWordNet maps a language-specific synset to a shared synset id across languages.

VerbNet_class = {verbs, roles, frames, semantics} — a compact representation of a VerbNet class.

PropBank_annotation(predicate_token) = (roleset_id, {ARG0:span, ARG1:span, AM-TMP?:span, ...}) — PropBank attaches a roleset id and argument spans to a predicate.

(Each symbol: lemma — canonical form string; POS — part-of-speech tag (n, v, a/s, r); SID/roleset_id — integer or alphanumeric id (note: WordNet numeric sense numbers like .01 are not stable across versions; sense keys are), arg labels ARG0..ARGn — strings used in PropBank annotation.)

Worked examples

  1. WordNet synset and relations (model answer)

Question: Create synsets for the words "dog" and "canine" and show hypernym relation.

Answer (step-by-step):

  • Synset for common domestic dog (noun): dog.n.01 = {dog} gloss "a domesticated canid".
  • Synset for general canid (noun): canid.n.01 = {canid} gloss "any of various flesh-eating mammals of the family Canidae". Note: "canine" (noun) is a synonym in this sense and appears in the same synset as "canid".
  • Hypernym relation: draw an arrow dog.n.01 -> canid.n.01 and label it "is-a (hypernym)". This shows canid is a hypernym of dog. If you need a hyponym, list a specific breed: dalmatian.n.01 = {dalmatian} with dalmatian.n.01 -> dog.n.01.

Mark the lemmas inside each synset oval and include glosses under them. State that hypernymy is transitive; if dalmatian -> dog and dog -> canid, then dalmatian -> canid.

  1. PropBank annotation (model answer)

Question: Annotate the sentence "John gave Mary a book." with PropBank roles.

Answer:

  • Identify predicate token: "gave" (lemma: give). Determine roleset for the sense of "give" that means transfer (roleset id e.g. give.01 — write the roleset id provided in PropBank in an exam if known).
  • Assign arguments using PropBank guidelines: ARG0 = John (Giver / Agent), ARG1 = a book (Thing given / Theme), ARG2 = Mary (Recipient). No adjuncts needed.
  • Final annotation format (model): PropBank_annotation(gave) = (give.01, {ARG0: "John", ARG1: "a book", ARG2: "Mary"}).

Explain mapping: ARG0 typically proto-agent, ARG1 proto-patient/theme, ARG2 indirect object/recipient for verbs of transfer.

  1. VerbNet class mapping (model answer)

Question: For the verb "give", state a VerbNet-style class, roles and syntactic frames, and show how this helps SRL.

Answer:

  • VerbNet class (informal): verbs of transfer. Roles: Agent, Theme, Recipient.
  • Representative syntactic frames: "NP V NP NP" (John gave Mary a book) and "NP V NP PP[to NP]" (John gave a book to Mary).
  • Show mapping from VerbNet roles to PropBank ARGs in SRL training: Agent -> ARG0, Theme -> ARG1, Recipient -> ARG2. Use this mapping to predict argument spans from syntactic parse (e.g., identify NP arguments from a parse tree and label them per VerbNet/PropBank mappings).

Include a short Python sketch (pseudocode) if asked to implement a simple rule-based SRL: find verb token, collect its subject NP as ARG0, direct object NP as ARG1, indirect object NP or PP[to] as ARG2.

Common mistakes

  • Treating PropBank ARG numbers as universal semantic roles: ARG labels are predicate-specific and should be interpreted using the predicate's roleset description.
  • Believing WordNet synsets are perfect translations across languages: IndoWordNet sometimes needs language-specific adjustments (lexical gaps); direct equivalence is not guaranteed.
  • Assigning adjunct AM-* labels incorrectly (e.g., labelling an instrument as AM-LOC). Check PropBank tagset definitions for each AM-* type.
  • Over-applying VerbNet classes: not every verb token of a lemma belongs to the same VerbNet class (sense distinctions matter).

For your exam

Kinds of questions you will see:

  • Definitions: define synset, lemma, roleset, VerbNet class, hypernym/hyponym.
  • Short notes: compare WordNet and PropBank; explain IndoWordNet and cross-lingual issues.
  • Diagrams: draw WordNet fragments showing hypernym trees; show PropBank annotation anchored to a sentence with spans.
  • Derivations / explanations: show how to map VerbNet roles to PropBank ARG labels for a given verb sense.
  • Programs/algorithms: simple rule-based SRL or lookup code using NLTK WordNet API.

What a full-marks answer includes:

  • Precise definitions with bolded terms (synset, lemma, roleset etc.).
  • Correct diagram labels and arrows as described in Key ideas.
  • For annotation questions, list the predicate, roleset id (if available), and the exact text spans assigned to each ARG/AM label.
  • For mapping questions, explain assumptions (sense selection, mapping heuristics) and note exceptions (lexical gaps, polysemy).

Quick check

  1. What is a synset?
  2. In PropBank, is ARG0 always the agent?
  3. What does IndoWordNet provide that WordNet alone does not?

Answers: 1) A synset is a set of lemmas that share the same sense (a unit of meaning) with a gloss and POS. 2) No — ARG0 often corresponds to a prototypical agent/causer but ARG meanings are predicate-specific and must be read from the roleset. 3) IndoWordNet links synsets across multiple Indian languages to a shared synset id, enabling multilingual lexical alignment.

Notes for reviewer: I have been cautious about specific numeric IDs from PropBank and VerbNet (roleset ids and class ids) and about the exact AM-* adjunct tags (instrument vs manner). I state where assumptions are made and list checks in the verify field.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?