Skip to content

Commit

Permalink
2nd person formal "ustedes" conjugates like 3rd person singular
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Jul 12, 2024
1 parent 7153d0d commit 9a91b72
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 5 deletions.
5 changes: 3 additions & 2 deletions resources/español/lexicon/rules.edn
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,16 @@
:number :sing}
:surface {:prefix [:stems :boot]
:suffix "e"}}
;; (1st and 2nd plur are conjugated according
;; (1st and 2nd plur informal are conjugated according
;; to the regular rules, so no :exception needed for them).

;; 2nd person formal (ustedes)
{:infl :present
:agr {:person :2nd
:number :plur
:formal? true}
:surface {:prefix [:stems :boot]
:suffix "en"}}
:suffix "e"}}
;; 3rd plur:
{:infl :present
:agr {:person :3rd :number :plur}
Expand Down
24 changes: 21 additions & 3 deletions resources/español/morphology/verbs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,16 @@
:p [#"^(.+[aie]r)éis$" "$1"]
:u {:cat :verb
:infl :future
:agr {:number :plur
:agr {:formal? false
:number :plur
:person :2nd}}}

{:g [#"^(.+[aie]r)$" "$1á"]
:p [#"^(.+[aie]r)á$" "$1"]
:u {:cat :verb
:infl :future
:agr {:formal? true
:number :plur
:person :2nd}}}

{:g [#"^(.+[aie]r)$" "$1án"]
Expand Down Expand Up @@ -254,11 +263,20 @@
:agr {:number :plur
:person :1st}}}

{:g [#"^(.+[aie]r)$" "$1íamos"]
:p [#"^(.+[aie]r)íamos$" "$1"]
{:g [#"^(.+[aie]r)$" "$1íais"]
:p [#"^(.+[aie]r)íais$" "$1"]
:u {:cat :verb
:infl :conditional
:agr {:number :plur
:formal? false
:person :2nd}}}

{:g [#"^(.+[aie]r)$" "$1ía"]
:p [#"^(.+[aie]r)ía$" "$1"]
:u {:cat :verb
:infl :conditional
:agr {:number :plur
:formal? true
:person :2nd}}}

{:g [#"^(.+[aie]r)$" "$1ían"]
Expand Down

0 comments on commit 9a91b72

Please sign in to comment.