Skip to content

Commit

Permalink
more complications for generalizing reflexives
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Aug 4, 2024
1 parent e823547 commit 7aabec5
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions resources/english/lexicon/rules.edn
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@
{:rule :nominal-verb-true
:if {:cat :verb
:nominal-verb? ::unspec}
:then [{:nominal-verb? true}]}
:then [{:nominal-verb? true
:reflexive? false}]}

{:rule :intransitive-only-default-false
:if {:cat :verb
Expand All @@ -133,7 +134,17 @@
:2 []
:3 []}
:reflexive? false}])}


{:rule :reflexive-defaults-to-both
:if {:cat :verb
:modal :none
:reflexive? ::unspec
:ditransitive? ::unspec
:nominal-verb? false
:adjectival-verb? false}
:then [{:reflexive? true}
{:reflexive? false}]}

;; if a verb does not specify a particular
;; transitivity, generate both transitive and intransitive forms
;; of the verb, where the second form has a noun second argument:
Expand Down Expand Up @@ -193,18 +204,16 @@
:reflexive? false
:sem {:subj subj
:obj obj}})]}

{:rule :reflexive-defaults-to-false
:if {:cat :verb
:reflexive? ::unspec
:ditransitive? ::unspec}
:then [{:reflexive? false}]}


{:rule :reflexive-transitive-verb
:if {:cat :verb
:reflexive? true
:ditransitive? false
:intransitive? false}
:intransitive? false
:modal :none
:adjectival-verb? false
:nominal-verb? false
:subcat {:2 {:cat ::unspec}}}
:then [(let [subj (atom {:existential? false})
obj (atom {:existential? false})
agr (atom :top)]
Expand Down

0 comments on commit 7aabec5

Please sign in to comment.