Guest User

Untitled

a guest
Dec 6th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Prolog 1.51 KB | None | 0 0
  1. %%%             Parser          %%%
  2. %%% --------------------------- %%%
  3.  
  4. %%% Discourse %%%
  5.  
  6. discourse --> discourse1.
  7. discourse --> discourse2.
  8.  
  9. discourse1 --> picture.
  10. discourse1 --> picture, discourse2.
  11. discourse2 --> pconjP.
  12. discourse2 --> pconjP, discourse2.
  13.  
  14.  
  15. %%% Pictures %%%
  16.  
  17. picture --> noun_phrase.
  18. picture --> evidential_phrase, picture.
  19. picture --> pconjP.
  20.  
  21. pconjP --> pconj_bar.
  22. pconjP --> pconj_bar, picture.
  23.  
  24. pconj_bar --> pconj.
  25. pconj_bar --> adjectival_phrase, pconj.
  26.  
  27.  
  28. %%% Evidential Phrases %%%
  29.  
  30. evidential_phrase --> short, ja.
  31.  
  32.  
  33. %%% Framed Pictures %%%
  34.  
  35. framed_picture --> frame, picture.
  36.  
  37.  
  38. %%% Grouping With [ja] %%%
  39.  
  40. ja_phrase --> noun_phrase, ja.
  41.  
  42.  
  43. %%% Adjectival Phrases - te/wa/i/u %%%
  44.  
  45. adjectival_phrase --> adjectival.
  46. adjectival_phrase --> noun, adjectival.
  47.  
  48. adjectival --> te.
  49. adjectival --> wa.
  50. adjectival --> i.
  51.  
  52.  
  53. %%% Relative Clauses %%%
  54.  
  55. relative_clause --> framed_picture, ye.
  56.  
  57.  
  58. %%% Noun Phrases %%%
  59.  
  60. noun_phrase --> noun_bar.
  61. noun_phrase --> adjectival_phrase.
  62. noun_phrase --> adjectival_phrase, noun_bar.
  63.  
  64. noun_phrase --> nconjP.
  65. noun_phrase --> noun_bar, nconjP.
  66. noun_phrase --> relative_clause, noun_phrase.
  67.  
  68. noun_bar --> long.
  69.  
  70. noun --> short.
  71.  
  72. nconjP --> nconj.
  73. nconjP --> nconj, noun_phrase.
  74.  
  75.  
  76. %%%% Dictionary %%%%
  77.  
  78. pconj --> [ta].
  79. nconj --> [kwa].
  80. frame --> [ba].
  81. ja --> [ja].
  82. te --> [te].
  83. ye --> [ye].
  84. wa --> [wa].
  85. i --> [i].
  86.  
  87. long --> [karu].
  88. long --> [miya].
  89.  
  90. short --> [kra].
  91. short --> [pra].
  92. short --> [kua].
Add Comment
Please, Sign In to add comment