Skip to content

Commit

Permalink
+deber/must,have to
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Sep 29, 2024
1 parent 72c02a8 commit eda6cce
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
29 changes: 24 additions & 5 deletions resources/english/lexicon/verbs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,26 @@
:reflexive? false
:nominal-verb {:with "lunch"}
:sem {:pred :have-lunch}
:exceptions non-aux-exceptions}

{:sense 7
:aux? false
:reflexive? false
:sem {:pred :be-required-to}

;; TODO:
;; :prepositional-verb {:with "to"} isn't right here.
;; It should be: {:modal :infinitive}
;; as with "need" in "need to leave".
;; But using :prepositional-verb is a way to get
;; it working with no complement, since the lexical rule
;; for :prepositional-verb generates such a subcategorization
;; with just a single word (in this case "to").
;; In order to do the right thing, we need to modify
;; the lexical rule for {:modal :infinitive} to
;; allow "I need to", "I have to", etc.

:prepositional-verb {:with "to"}
:exceptions non-aux-exceptions}])

"heal" [{ :sem {:pred :heal}}]
Expand Down Expand Up @@ -608,11 +628,10 @@
[{:exceptions exceptions :sem {:pred :mean}}])
"move" [{:sem {:pred :move}}]

;; "must" [{:modal :base
;; :infl :base
;; :inflected? true
;; :sem {:pred :must
;; :shared? false}}]
"must" [{:infl :present
:inflected? true
:sem {:pred :be-required-to
:shared? false}}]

"offer" [{:sem {:pred :offer}}]
"organize" [{:sem {:pred :organize}}]
Expand Down
4 changes: 2 additions & 2 deletions resources/español/lexicon/verbs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@
:surface "dio"}]}]
"dañar" [{:sem {:pred :damage}}]

;; modal: requires a verb argument
;; "deber" [{:sem {:pred :must}}]
;; modal: TODO: requires a verb argument
"deber" [{:sem {:pred :be-required-to}}]
"decidir" [{:sem {:pred :decide}}]
"defender" [{:sem {:pred :defend},
:stems {:boot "defiend"}}]
Expand Down

0 comments on commit eda6cce

Please sign in to comment.