Skip to content

Commit

Permalink
use regexp to identify non-reflexives as well as reflexives
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Aug 1, 2024
1 parent b4ddf6c commit 6746741
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions resources/español/lexicon/rules.edn
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,12 @@
:number :plur}
:surface {:prefix [:stems :preterito]
:suffix "eron"}}]}]}


{:rule :non-reflexive
:if {:cat :verb
:canonical #"(.*)r$"}
:then [{:reflexive? false}]}

{:rule :reflexive
:if {:cat :verb
:canonical #"(.*)se$"}
Expand Down Expand Up @@ -239,11 +244,6 @@
:sem subj
:reflexive? true}
:2 []}}])}

{:rule :reflexive-is-false-by-default
:if {:cat :verb
:reflexive? ::unspec}
:then [{:reflexive? false}]}

{:rule :transitivity-both
:if {:cat :verb
Expand Down

0 comments on commit 6746741

Please sign in to comment.