Skip to content

Commit

Permalink
implement AUX for elliptical do/have/be
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-zeldes committed Jul 19, 2023
1 parent 953cb02 commit 34a1052
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _build/utils/upos.ini
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,10 @@ xpos=/WRB/&upos!=/X/&func!=/goeswith/ none #1:upos=ADV
xpos=/WRB/&func=/mark/ none #1:func=advmod
; fixed expression preposition or complementizer with xpos RB for first token should have upos ADV ('morphological' POS)
xpos=/RB/&upos!=/PART/;func=/fixed/ #1.#2 #1:upos=ADV

; UD 2.13
; AUX pos for be, have, do without object (excl. "there is" and possible zero relatives for "things we do/VERB")
lemma=/be/&upos=/VERB/;xpos=/EX/ #1>#2 #1:storage=has_expl
lemma=/be/&upos=/VERB/&storage!=/has_expl/ none #1:upos=AUX
lemma=/do|have/&upos=/VERB/;func=/obj|ccomp|.*:pass/ #1>#2 #1:storage=has_obj

This comment has been minimized.

Copy link
@nschneid

nschneid Jul 20, 2023

Contributor

Should this also exclude ones with xcomp dependents? Mainly for "have to VP"

This comment has been minimized.

Copy link
@nschneid

nschneid Jul 20, 2023

Contributor

Opened an issue for this: UniversalDependencies/UD_English-EWT#411

This comment has been minimized.

Copy link
@amir-zeldes

amir-zeldes Jul 21, 2023

Author Owner

Good point, fixed!

lemma=/do|have/&upos=/VERB/&storage!=/has_obj/&func!=/.*:relcl/ none #1:upos=AUX

0 comments on commit 34a1052

Please sign in to comment.