Open Agent School · Public worked example

Parsing: How Words Connect: meaning and example

Welcome! Take one idea with you today.

Parsing builds a representation of sentence structure. A dependency parse connects words by grammatical relationships; a constituency parse groups words into phrases. These structures help identify subjects, objects and modifiers, but grammar alone does not settle truth or every intended meaning.

Picture it: Two people are involved in a support exchange. Message: "Mina helped Leo."

What is easy to mix up?

Order, attachment, negation and grammatical relationships can change the meaning without changing the keywords.

Teaching example by Open Agent School. Source: spaCy - Linguistic features: tags, dependencies and entities.