Superb

Meaning / Meaning profiles

Meaning profiles

A meaning profile describes the terms a text or conversation turns on. For each term it reports how the term's readings are distributed in every use, whether the uses agree with one another, and where two speakers' uses diverge. It is built for transcripts: a clip, a debate or a thread, where the question is not "what does this word mean" but "are these people using it the same way".

POST /v1/meaning/profile
{ "messages": [
    { "id": "m1", "author": "Ana", "text": "The human experience is what we value." },
    { "id": "m2", "author": "Ben", "text": "What value does a dead person's experience have?" } ] }

Send { "text": "..." } for a single text, or up to 200 messages with unique ids. Add author to a message to compare speakers. terms (up to 12 expressions) restricts the profile to those terms; otherwise the terms are chosen as described below. The SDK method is superb.profileMeaning(input).

What a profile contains#

Each entry in profiles is one term:

Field Meaning
uses Up to 8 uses, each with the quote (the sentence around it), the top five readings with their share, the other share, the strength (clear, likely or close), its spread, and the partOfSpeech most of the share falls on.
profile The mean distribution across the uses: the top five readings and their shares.
consistency single-use, consistent (mean divergence under 0.25), varied (under 0.5) or shifting.
divergence The mean Jensen–Shannon divergence, in bits, between pairs of uses, from 0 (identical) to 1 (disjoint).
misalignments Pairs of uses by different named authors that diverge by 0.5 or more (see below).
status Always derived: the profile is computed, never reviewed.

names lists capitalised words that don't open a sentence ("Florida", "Terry Shivo"). They are references to look up, not terms to profile, so they are returned separately and never scored.

How shares are derived#

Each use is resolved by the current SIE model (the SIE contract), with the term fixed so an inflected form ("wants", "valued") is read as its listed expression. Every reading keeps its share; nothing is dropped or forced to one answer. When the top reading is a close call, the use says so, and a profile made of close calls reads as a spread-out distribution rather than a verdict.

Uses are compared only within one part of speech. "We value it" and "a value" differ in grammar, not in meaning, so a verb use is never counted as disagreeing with a noun use. Within a part of speech, shares are renormalised before the divergence is measured.

Misalignments#

A misalignment is a pair of uses by two different named authors whose distributions diverge by at least 0.5 bits. Its kind says how settled it is:

Possible miscommunications come first, then by divergence; at most six are returned per term. Without authors there are no misalignments: a term that shifts within one text shows up in its consistency instead.

relation says whether the two readings are related senses of one idea (related-senses: the same WordNet supersense, like two "bank"s that are both landforms) or different kinds of thing (distinct-meanings: a riverbank and a bank that lends money). Linguists call these polysemy and homonymy. Talking past each other matters more across distinct meanings. Each reading also carries its supersense in plain words (kind: "a natural thing", "a group or institution").

A misalignment is a candidate for the speakers to settle, not a finding that anyone misspoke.

Context cues#

A word's dictionary sense is one level of meaning. context adds the levels above it that most often decide an online argument. Each cue names a place to look and explains itself. None is a claim about what anyone intended.

Layer What it marks Research
presupposition What a sentence takes for granted ("stopped", "still", "you know that"). It survives negation, so it has to be challenged directly. Strawson; Karttunen 1973
implicature Scalar words ("some", "many", "often") that suggest "not all" without saying it. Grice 1975; Horn 1972
reference "We" or "they" said by more than one speaker. Who is included depends on who is speaking. Deixis: Bühler 1934; Levinson 1983
speech-act Saying as doing: indirect requests ("Can you…?") and performatives ("I promise"). Austin 1962; Searle 1975
repair Requests to clarify ("who is we?", "what do you mean by…"), and whether the next turn took them up. Schegloff, Jefferson & Sacks 1977
stance Hedges and boosters per speaker: how settled each person makes their claims sound. Hyland 2005

The detectors are English wording patterns, tested on textbook cases (tests/pragmatics.test.mjs). They don't detect sarcasm, irony or tone.

How accurate the readings are#

Readings are scored on the field's standard word-sense benchmark, Raganato, Camacho-Collados & Navigli (2017), which joins five SemEval and Senseval test sets (7,253 instances). node scripts/wsd-benchmark.mjs reproduces the numbers in data/generated/sie/benchmark-wsd-all.json, and scores the published systems' own outputs, shipped with the benchmark, on the same answer keys.

System ALL
Superb specialist-arbiter-v4 63.9%
WordNet first sense 65.2%
Most frequent sense in SemCor 63.8%
IMS (supervised, SemCor) 68.4%
context2vec (SemCor) 69.0%

Superb's shares are below the WordNet first-sense baseline. That is why toss-ups are reported as toss-ups, and why a possible miscommunication needs both sides to be confident.

Which terms are profiled#

Without terms, the profile takes up to 12 terms from the text:

  1. Each word is matched to the longest listed expression of up to three words ("brain dead", "moral obligation"), then to single words and their base forms. Stop words, names and words whose every sense is an adverb ("actually", "basically") are skipped.
  2. A term is kept when it is used more than once or is a phrase, and when it has more than one sense or is distinctive in general usage.
  3. Terms are ranked by uses × distinctiveness × speakers, where distinctiveness is the smooth inverse frequency from the catalogue usage vectors. This chooses what to profile; it never weighs readings.

Limits#