Last active
April 7, 2022 14:55
-
-
Save bguil/a132a8d6ab82f1b216b5ede47cd46b68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sent_id = en_partut-ud-1610 | |
# text = they were unimpressed. | |
1 they they PRON PE Number=Plur|Person=3|PronType=Prs 3 nsubj _ _ | |
2 were be AUX V Mood=Ind|Number=Plur|Tense=Past|VerbForm=Fin 3 cop _ _ | |
3 unimpressed unimpressed ADJ A Degree=Pos 0 root _ SpaceAfter=No | |
4 . . PUNCT FS _ 3 punct _ _ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule add_token_feature { | |
pattern { N [ lemma ]; } | |
without { N [ token ]; } | |
commands { N.token = N.lemma; } | |
} | |
strat main { Onf (add_token_feature) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment