Created
October 5, 2020 13:58
-
-
Save bguil/b566e405995ca568adb0f659887bb6b9 to your computer and use it in GitHub Desktop.
Grew GRS (Version 1.4) for changing old SUD annotation 'EXTPOS + @fixed' into 'ExtPos + InIdiom=Yes'
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
package fixed2idiom { | |
rule EXTPOS { | |
pattern { N[EXTPOS] } | |
commands { | |
N.ExtPos = N.EXTPOS; | |
del_feat N.EXTPOS; | |
N.PhraseType = Idiom; | |
} | |
} | |
rule fixed { | |
pattern { | |
e: X -[deep=fixed]-> Y; | |
} | |
commands { | |
del_feat e.deep; | |
Y.InIdiom = Yes; | |
} | |
} | |
} | |
strat main { | |
Seq ( | |
Onf (fixed2idiom) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-config sud
is required with the grew command in order to apply the GSD