Constituency and Dependency Parsing › Worked Example: Two Readings of One Sentence

Michael BrenndoerferMay 6, 20252 min read
Language AI HandbookAll chapters
Part 7 of 67Linguistic Form: Morphology and Syntax
Chapter 48Constituency and Dependency Parsing › Worked Example: Two Readings of One Sentence
Reading section 6 of 10 · Worked Example: Two Readings of One Sentence · 2 minSection 6 of 10 · 2 min

Section 6 of 10 · 2 min read

Constituency and Dependency Parsing › Worked Example: Two Readings of One SentenceSection view · Sections in this chapter6 / 10 ↓
Reading tools Definitions, links & notes

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Notes & comments

Return to "the man saw the dog with a telescope". Ignore morphological details and use simplified labels.

Reading A attaches the prepositional phrase to the verb phrase. The man used a telescope to see the dog.

Code
CollapseExpand
S
├── NP: the man
└── VP
    ├── VP
    │   ├── V: saw
    │   └── NP: the dog
    └── PP: with a telescope

Reading B attaches the prepositional phrase to the noun phrase "the dog". The dog had a telescope.

Code
CollapseExpand
S
├── NP: the man
└── VP
    ├── V: saw
    └── NP
        ├── NP: the dog
        └── PP: with a telescope

In dependency form, the difference is one arc. Reading A makes "telescope" a dependent of "saw" through an oblique relation. Reading B makes "telescope" a dependent of "dog" through a nominal modifier relation. The rest of the tree can stay the same. This illustrates how much meaning can hinge on a single structural decision: the two trees differ in exactly one attachment, yet they describe different situations in the world.

The same words and part-of-speech tags permit different attachments. A scoring model ranks these relations using its available input. Surrounding discourse can favor one reading; a sentence-only input may leave that intended distinction unresolved even when the model assigns different scores to the two trees.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy