Constituency and Dependency Parsing › Worked Example: Two Readings of One Sentence
Language AI HandbookAll chapters 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
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.
CodeExpand
S
├── NP: the man
└── VP
├── VP
│ ├── V: saw
│ └── NP: the dog
└── PP: with a telescopeReading B attaches the prepositional phrase to the noun phrase "the dog". The dog had a telescope.
CodeExpand
S
├── NP: the man
└── VP
├── V: saw
└── NP
├── NP: the dog
└── PP: with a telescopeIn 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!