Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- My input sentence:
- "<target>"
- "trg" adv
- "trg" dummy
- "<1adj>"
- "w1" adj
- "w1" dummy
- "<target>"
- "trg" adv
- "trg" dummy
- "<1Cadj>"
- "w1" adj
- "<target>"
- "trg" adv
- "trg" dummy
- "<1non_adj>"
- "w1" dummy1
- "w1" dummy2
- "<target>"
- "trg" adv
- "trg" dummy
- "<1Cnon_adj>"
- "w1" dummy
- -------------------------------
- I ran the following rules, one at a time:
- REMOVE (adv) IF (NOT 1 (adj)) ;
- REMOVE (adv) IF (NOT 1C (adj)) ;
- Both of the rules did nothing to the first two cases, and removed the adverb in the last two.
- "<target>"
- "trg" dummy
- ; "trg" adv REMOVE:9
- "<1non_adj>"
- "w1" dummy1
- "w1" dummy2
- "<target>"
- "trg" dummy
- ; "trg" adv REMOVE:9
- "<1Cnon_adj>"
- "w1" dummy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement