Skip to content

Commit

Permalink
responded to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thorunna committed Oct 26, 2023
1 parent c61c137 commit 287cdac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/reynir_correct/pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,8 @@ def né(self, match: SimpleTree) -> None:
)

def agreement_conj(self, match: SimpleTree) -> None:
"""A verb, whose subject precedes a conjunction, is not in agreement with the subject. E.g. 'Bílarnir eru léttari og gæti verið hraðari.'"""
"""A verb, whose subject precedes a conjunction, is not in agreement with the subject.
E.g. 'Bílarnir eru léttari og gæti verið hraðari.'"""
vp = match.first_match("VP > (so_ft|so_et)")
if vp is None:
return
Expand Down Expand Up @@ -1739,7 +1740,8 @@ def agreement_conj(self, match: SimpleTree) -> None:
)

def agreement_subpost_sing(self, match: SimpleTree) -> None:
"""A plural verb which precedes its subject is not in agreement with the subject, which is singular. E.g. 'Í skrúðgöngunni eru fólk klætt...'"""
"""A plural verb which precedes its subject is not in agreement with the subject,
which is singular. E.g. 'Í skrúðgöngunni eru fólk klætt...'"""
vp = match.first_match("VP > (so_ft)")
if vp is None:
return
Expand Down

0 comments on commit 287cdac

Please sign in to comment.