Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- |. the . mouse . likes . a . cat .|
- Leaf Init Rule:
- |[-------] . . . .| [0:1] 'the'
- |. [-------] . . .| [1:2] 'mouse'
- |. . [-------] . .| [2:3] 'likes'
- |. . . [-------] .| [3:4] 'a'
- |. . . . [-------]| [4:5] 'cat'
- Top Down Init Rule:
- |> . . . . .| [0:0] S -> * NP VP
- * Processing queue: 0
- Predictor Rule:
- |> . . . . .| [0:0] NP -> * Det Noun
- Predictor Rule:
- |> . . . . .| [0:0] Det -> * 'the'
- * Processing queue: 1
- Scanner Rule:
- |[-------] . . . .| [0:1] Det -> 'the' *
- Completer Rule:
- |[-------> . . . .| [0:1] NP -> Det * Noun
- Predictor Rule:
- |. > . . . .| [1:1] Noun -> * 'mouse'
- * Processing queue: 2
- Scanner Rule:
- |. [-------] . . .| [1:2] Noun -> 'mouse' *
- Completer Rule:
- |[---------------] . . .| [0:2] NP -> Det Noun *
- Completer Rule:
- |[---------------> . . .| [0:2] S -> NP * VP
- Predictor Rule:
- |. . > . . .| [2:2] VP -> * Verb NP
- |. . > . . .| [2:2] VP -> * Verb PP
- Predictor Rule:
- |. . > . . .| [2:2] Verb -> * 'likes'
- * Processing queue: 3
- Scanner Rule:
- |. . [-------] . .| [2:3] Verb -> 'likes' *
- Completer Rule:
- |. . [-------> . .| [2:3] VP -> Verb * NP
- |. . [-------> . .| [2:3] VP -> Verb * PP
- Predictor Rule:
- |. . . > . .| [3:3] PP -> * Preposition NP
- Predictor Rule:
- |. . . > . .| [3:3] Preposition -> * to
- Predictor Rule:
- |. . . > . .| [3:3] NP -> * Det Noun
- Predictor Rule:
- |. . . > . .| [3:3] Det -> * 'a'
- * Processing queue: 4
- Scanner Rule:
- |. . . [-------] .| [3:4] Det -> 'a' *
- Completer Rule:
- |. . . [-------> .| [3:4] NP -> Det * Noun
- Predictor Rule:
- |. . . . > .| [4:4] Noun -> * 'cat'
- * Processing queue: 5
- Scanner Rule:
- |. . . . [-------]| [4:5] Noun -> 'cat' *
- Completer Rule:
- |. . . [---------------]| [3:5] NP -> Det Noun *
- Completer Rule:
- |. . [-----------------------]| [2:5] VP -> Verb NP *
- Completer Rule:
- |[=======================================]| [0:5] S -> NP VP *
- [Finished in 4.8s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement