(If you're not using Netscape, try this version.)
| PARSE | SENTENCE | STACK | CURRENT NODE |
|---|---|---|---|
| ((s)) | TRTLIAP | () | S/1 |
| ((np) (s)) | TRTLIAP | (S/2) | NP/1 |
| (((pn toad) np) (s)) | RTLIAP | (S/2) | NP/5 |
| (((np (pn toad)) s)) | RTLIAP | () | S/2 |
| ((vp) ((np (pn toad)) s)) | RTLIAP | (S/3) | VP/1 |
| (((tv raked) vp) ((np ...))) | TLIAP | (S/3) | VP/2 |
| ((np) ((tv raked) vp) ((np (pn toad)) s)) | TLIAP | (VP/5 S/3) | NP/1 |
| ... | (VP/5 S/3) | NP/2 ... NP/5 | |
| (((np (det the) (n leaves)) (tv raked) vp) ((np (pn toad)) s)) |
IAP | (S/3) | VP/5 |
| ... | (VP/5 S/3) | PP/1 ... PP/2 ... NP/1 ... NP/2 ... NP/5 ... PP/3 | |
| ((vp (tv raked) (np (det the) (n leaves)) (pp (p into) (np (det a) (n pile)))) ((np (pn toad)) s)) |
(S/3) | VP/5 | |
|
((s (np (pn toad)) (vp (tv raked) (np (det the) (n leaves)) (pp (p into) (np (det a) (n pile)))))) |
() | S/3 |
Natural Language Processing: CFGs and RTNs
Natural Language Processing: Beyond Simple CFGs
Last updated: 9 April 1996
URL: http://www.indiana.edu/~gasser/Q351/rtn_example.html
Comments:
gasser@salsa.indiana.edu
Copyright 1996,
The Trustees of
Indiana University