Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Trondtr committed Nov 2, 2023
1 parent d3cbc65 commit c7771d5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tools/grammarcheckers/grammarchecker.cg3
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ADD:spell-conservatively (&typo &SUGGESTWF) (<spelled>) IF (NEGATE -1 QMARK LINK

#!! #### Verb valency rules

ADD:msyn-arg-trm-ins (&msyn-arg-trm-ins) TARGET N + Trm IF (1 QAR);
ADD:msyn-arg-trm-ins (&msyn-arg-trm-ins) TARGET Trm IF (1 QAR);
#!! @RULENAME@

COPY:msyn-arg-trm-ins (Ins &SUGGEST) EXCEPT (Trm &msyn-arg-trm-ins) BEFORE NUMERUS TARGET (&msyn-arg-trm-ins);
Expand All @@ -106,9 +106,13 @@ COPY:msyn-arg-trm-ins (Ins &SUGGEST) EXCEPT (Trm &msyn-arg-trm-ins) BEFORE NUME
#ok Nerisassiornermik soqutigisaqarpit? # er du interesseret i madlavning


# And one with a suggestion where we simply change the tag Sg into Attr:
# ADD:attr-not-pred (&attr-not-pred) TARGET (A Sg) IF (NOT 0 Attr OR Gen) (1 CC LINK *1 COMMON-N) ;
#COPY:attr-not-pred (Attr &SUGGEST) EXCEPT (Sg) TARGET (&attr-not-pred) ;
ADD:msyn-arg-ins-trm (&msyn-arg-ins-trm) TARGET Ins IF (1 Gram/Reci + V);
#!! @RULENAME@

COPY:msyn-arg-ins-trm (Trm &SUGGEST) EXCEPT (Ins &msyn-arg-ins-trm) BEFORE NUMERUS TARGET (&msyn-arg-ins-trm);
#!! @RULENAME@


# The method is: Add &SUGGEST to a copied reading to *generate* a
# suggestion form from that reading. The copy should contain the error
# tag too – &-prefixed error tags are ignored when generating, but
Expand Down

0 comments on commit c7771d5

Please sign in to comment.