Skip to content

Commit d435fdb

Browse files
committed
Merge branch 'main' of https://github.com/recski/tuw-nlp into main
2 parents 77cc12e + fade074 commit d435fdb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tuw_nlp/grammar/lexicon.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@ def get_mod_edges(self):
501501
("NOUN", "ACL", "ADJ"),
502502
("NOUN", "NUMMOD", "NUM"),
503503
("NUM", "ADVMOD", "ADV"),
504-
("NUM", "ADVMOD", "ADV"),
504+
# maximal 6,0 m
505+
("NUM", "ADVMOD", "ADJ"),
505506
("NUM", "ADVMOD", "NUM"),
506507
("VERB", "ADVMOD", "ADJ"),
507508
("VERB", "ADVMOD", "ADV"),
@@ -543,8 +544,10 @@ def r(edge):
543544
# ...wird bestimmt, dass...
544545
("VERB", "CCOMP", "VERB"): [r("2")],
545546
# ...wird bestimmt: Die Errichtung...zulaesssig (8159_21_0)
546-
# erroneously parsed as parataxis
547+
# ...wird bestimmt: ...betragen
548+
# parsed as parataxis
547549
("VERB", "PARATAXIS", "ADJ"): [r("2")],
550+
("VERB", "PARATAXIS", "VERB"): [r("2")],
548551
# ...so auszubilden, dass...
549552
("VERB", "CCOMP", "ADJ"): [r("0")], # TODO
550553
# sind Vorkehrungen zu treffen, dass...moeglich

0 commit comments

Comments
 (0)