CFG from rules to parse trees
context-free grammars · parsing strategies · derivations
Earley chart parser
How it works →57 steps · 2 parses found for “the man saw a dog with a telescope”.
Step 1 / 57
- Input
span of this item
Chart: one item set per position
All 57 steps
2 parse trees
Parse 1
[S [NP [Det the] [N man]] [VP [V saw] [NP [Det a] [N dog]] [PP [P with] [NP [Det a] [N telescope]]]]]
Parse 2
[S [NP [Det the] [N man]] [VP [V saw] [NP [Det a] [N dog] [PP [P with] [NP [Det a] [N telescope]]]]]]