Advertisement
Guest User

python out

a guest
Oct 22nd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. |. the . mouse . likes . a . cat .|
  2. Leaf Init Rule:
  3. |[-------] . . . .| [0:1] 'the'
  4. |. [-------] . . .| [1:2] 'mouse'
  5. |. . [-------] . .| [2:3] 'likes'
  6. |. . . [-------] .| [3:4] 'a'
  7. |. . . . [-------]| [4:5] 'cat'
  8. Top Down Init Rule:
  9. |> . . . . .| [0:0] S -> * NP VP
  10.  
  11. * Processing queue: 0
  12.  
  13. Predictor Rule:
  14. |> . . . . .| [0:0] NP -> * Det Noun
  15. Predictor Rule:
  16. |> . . . . .| [0:0] Det -> * 'the'
  17.  
  18. * Processing queue: 1
  19.  
  20. Scanner Rule:
  21. |[-------] . . . .| [0:1] Det -> 'the' *
  22. Completer Rule:
  23. |[-------> . . . .| [0:1] NP -> Det * Noun
  24. Predictor Rule:
  25. |. > . . . .| [1:1] Noun -> * 'mouse'
  26.  
  27. * Processing queue: 2
  28.  
  29. Scanner Rule:
  30. |. [-------] . . .| [1:2] Noun -> 'mouse' *
  31. Completer Rule:
  32. |[---------------] . . .| [0:2] NP -> Det Noun *
  33. Completer Rule:
  34. |[---------------> . . .| [0:2] S -> NP * VP
  35. Predictor Rule:
  36. |. . > . . .| [2:2] VP -> * Verb NP
  37. |. . > . . .| [2:2] VP -> * Verb PP
  38. Predictor Rule:
  39. |. . > . . .| [2:2] Verb -> * 'likes'
  40.  
  41. * Processing queue: 3
  42.  
  43. Scanner Rule:
  44. |. . [-------] . .| [2:3] Verb -> 'likes' *
  45. Completer Rule:
  46. |. . [-------> . .| [2:3] VP -> Verb * NP
  47. |. . [-------> . .| [2:3] VP -> Verb * PP
  48. Predictor Rule:
  49. |. . . > . .| [3:3] PP -> * Preposition NP
  50. Predictor Rule:
  51. |. . . > . .| [3:3] Preposition -> * to
  52. Predictor Rule:
  53. |. . . > . .| [3:3] NP -> * Det Noun
  54. Predictor Rule:
  55. |. . . > . .| [3:3] Det -> * 'a'
  56.  
  57. * Processing queue: 4
  58.  
  59. Scanner Rule:
  60. |. . . [-------] .| [3:4] Det -> 'a' *
  61. Completer Rule:
  62. |. . . [-------> .| [3:4] NP -> Det * Noun
  63. Predictor Rule:
  64. |. . . . > .| [4:4] Noun -> * 'cat'
  65.  
  66. * Processing queue: 5
  67.  
  68. Scanner Rule:
  69. |. . . . [-------]| [4:5] Noun -> 'cat' *
  70. Completer Rule:
  71. |. . . [---------------]| [3:5] NP -> Det Noun *
  72. Completer Rule:
  73. |. . [-----------------------]| [2:5] VP -> Verb NP *
  74. Completer Rule:
  75. |[=======================================]| [0:5] S -> NP VP *
  76. [Finished in 4.8s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement