From eb1cdf0bfb4bfffd77262119fcdebae981da88a9 Mon Sep 17 00:00:00 2001 From: Dan Zeman Date: Tue, 19 Nov 2024 07:53:58 +0100 Subject: [PATCH] Since we now have ExtPos, no need to skip rel-upos-case for fixed expressions. https://github.com/UniversalDependencies/docs/issues/1062 --- validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate.py b/validate.py index 7ea3a551..a85d0964 100755 --- a/validate.py +++ b/validate.py @@ -1519,7 +1519,7 @@ def validate_upos_vs_deprel(id, tree): # NOUN: [cs] pomocí, prostřednictvím # VERB: [en] including # Interjection can also act as case marker for vocative, as in Sanskrit: भोः भगवन् / bhoḥ bhagavan / oh sir. - if deprel == 'case' and re.match(r"^(PROPN|ADJ|PRON|DET|NUM|AUX)", upos) and not 'fixed' in childrels: + if deprel == 'case' and re.match(r"^(PROPN|ADJ|PRON|DET|NUM|AUX)", upos): testid = 'rel-upos-case' testmessage = "'case' should not be '%s'" % (upos) warn(testmessage, testclass, testlevel, testid, nodeid=id, lineno=tree['linenos'][id])