Advertisement
Guest User

CG: NOT + C mode

a guest
Aug 21st, 2015
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. My input sentence:
  2.  
  3. "<target>"
  4. "trg" adv
  5. "trg" dummy
  6.  
  7. "<1adj>"
  8. "w1" adj
  9. "w1" dummy
  10.  
  11.  
  12. "<target>"
  13. "trg" adv
  14. "trg" dummy
  15.  
  16. "<1Cadj>"
  17. "w1" adj
  18.  
  19.  
  20.  
  21. "<target>"
  22. "trg" adv
  23. "trg" dummy
  24.  
  25. "<1non_adj>"
  26. "w1" dummy1
  27. "w1" dummy2
  28.  
  29.  
  30. "<target>"
  31. "trg" adv
  32. "trg" dummy
  33.  
  34. "<1Cnon_adj>"
  35. "w1" dummy
  36.  
  37.  
  38. -------------------------------
  39.  
  40. I ran the following rules, one at a time:
  41.  
  42. REMOVE (adv) IF (NOT 1 (adj)) ;
  43. REMOVE (adv) IF (NOT 1C (adj)) ;
  44.  
  45. Both of the rules did nothing to the first two cases, and removed the adverb in the last two.
  46.  
  47. "<target>"
  48. "trg" dummy
  49. ; "trg" adv REMOVE:9
  50. "<1non_adj>"
  51. "w1" dummy1
  52. "w1" dummy2
  53.  
  54.  
  55. "<target>"
  56. "trg" dummy
  57. ; "trg" adv REMOVE:9
  58. "<1Cnon_adj>"
  59. "w1" dummy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement