Skip to content

Commit

Permalink
cgel2ud: :npmod -> :unmarked
Browse files Browse the repository at this point in the history
  • Loading branch information
nschneid committed Dec 27, 2024
1 parent dada2d7 commit a04f052
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions convertor/cgel2ud.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,9 @@ def process_dependents(ctree: Tree, feats: Mapping[int,Set[str]], lexheads: Mapp
VP * Comp PP * obl
AdjP * Comp PP * obl
* * Comp_ind PP * obl
VP * Mod NP * obl:npmod #limitation: some should be :tmod
AdjP * Mod NP * obl:npmod
AdvP * Mod NP * obl:npmod # e.g. '11 months later'
VP * Mod NP * obl:unmarked
AdjP * Mod NP * obl:unmarked
AdvP * Mod NP * obl:unmarked # e.g. '11 months later'
Clause(_rel) * * Clause_rel * advcl:relcl # it-clefts, RC supplements with clausal antecedents
AdvP * * Clause_rel * advcl:relcl # adverbial fused relative
PP * * Clause_rel * advcl:relcl # adverbial fused relative
Expand Down Expand Up @@ -530,7 +530,7 @@ def process_dependents(ctree: Tree, feats: Mapping[int,Set[str]], lexheads: Mapp
NP * Supplement Clause_rel * acl:relcl
Nom * Mod Clause * acl
Nom * Comp Clause * acl
Nom * Mod PP * nmod # TODO: ignoring :npmod, :tmod possibilities
Nom * Mod PP * nmod # TODO: ignoring :unmarked possibilities
DP * Mod PP * nmod # 'at least 4' (TODO: cxn is subject to debate in UD)
Nom * Comp PP * nmod
NP * Supplement NP * appos
Expand Down

0 comments on commit a04f052

Please sign in to comment.