Skip to content

Commit

Permalink
add nominal-argument-number
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Aug 2, 2024
1 parent 097341b commit d716e0a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions resources/english/lexicon/rules.edn
Original file line number Diff line number Diff line change
Expand Up @@ -506,20 +506,27 @@
:canonical with-adjective}
:3 []}}])}

{:rule :nominal-arg-verbs-number ;; "have lunch", not "have lunches"
:if {:cat :verb
:nominal-verb? true}
:then [{:nominal-argument-number :sing}]}

{:rule :nominal-arg-verbs ;; "have lunch"
:if {:cat :verb
:nominal-verb? true}
:then (let [subj (atom :top)
with-noun (atom :top)]
with-noun (atom :top)
nominal-argument-number (atom :top)]
[{:nominal-verb-with with-noun
:nominal-argument-number nominal-argument-number
:reflexive? false
:sem {:obj :none
:iobj :none
:subj subj}
:subcat {:1 {:sem subj}
:2 {:cat :noun
:reflexive? false
:agr {:number :sing}
:agr {:number nominal-argument-number}
:phrasal? false
:canonical with-noun
:subcat []}
Expand Down

0 comments on commit d716e0a

Please sign in to comment.