Skip to content

Commit

Permalink
fix bugs with boot-rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Jun 3, 2024
1 parent 745c461 commit 1acb094
Showing 1 changed file with 25 additions and 7 deletions.
32 changes: 25 additions & 7 deletions resources/español/lexicon/rules.edn
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,48 @@
:stems {:boot? true}}
:then [{:exceptions [;; 1st, 2nd and 3rd plural:
{:infl :present
:agr {:person :1st :number :sing}
:agr {:person :1st
:number :sing}
:surface {:prefix [:stems :boot]
:suffix "o"}}

{:infl :present
:agr {:person :2nd :number :sing}
:agr {:person :2nd
:number :sing
:formal? false}
:surface {:prefix [:stems :boot]
:suffix "es"}}

{:infl :present
:agr {:person :3rd :number :sing}
:agr {:person :2nd
:number :sing
:formal? true}
:surface {:prefix [:stems :boot]
:suffix "ere"}}

:suffix "e"}}

{:infl :present
:agr {:person :3rd
:number :sing}
:surface {:prefix [:stems :boot]
:suffix "e"}}

;; (1st and 2nd plur are conjugated according
;; to the regular rules, so :exception needed for them).



;; 2nd person formal (ustedes)
{:infl :present
:agr {:person :2nd
:number :plur
:formal? true}
:surface {:prefix [:stems :boot]
:suffix "en"}}

;; 3rd plur:
{:infl :present
:agr {:person :3rd :number :plur}
:surface {:prefix [:stems :boot]
:suffix "eren"}}]}]}
:suffix "en"}}]}]}

{:rule :subcat
:if {:cat :verb
Expand Down

0 comments on commit 1acb094

Please sign in to comment.