Skip to content

Commit

Permalink
+dejar/leave-behind
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Sep 29, 2024
1 parent ffc9751 commit 72c02a8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject menard "1.7.7"
(defproject menard "1.7.8-SNAPSHOT"
:description "A library for natural language generation and parsing"
:url "http://github.com/ekoontz/menard"
:license {:name "Eclipse Public License"
Expand Down
2 changes: 2 additions & 0 deletions resources/english/lexicon/misc.edn
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
:cat :det :agr {:number :sing}}]
"at" [{:cat :prep
:sem {:pred :at}}]
"behind" [{:cat :prep
:sem {:pred :behind}}]
"for" [{:cat :prep
:sem {:pred :for}}]
"her" [{:cat :det
Expand Down
5 changes: 4 additions & 1 deletion resources/english/lexicon/verbs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,10 @@
"learn" [{:sem {:pred :learn}}]
"leave" (let [exceptions [{:infl :past-simple :surface "left"}
{:infl :past-participle :surface "left"}]]
[{:exceptions exceptions :sem {:pred :leave}}])
[{:exceptions exceptions :sem {:pred :leave}}
{:exceptions exceptions :sem {:pred :leave-behind}
:prepositional-verb {:with "behind"}}])

"lend" [{:sem {:pred :lend}}]
"let" (let [exceptions [{:infl :past-simple :surface "let"}
{:infl :past-participle :surface "let"}]]
Expand Down
4 changes: 1 addition & 3 deletions resources/español/lexicon/verbs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,7 @@
:stems {:boot "defiend"}}]

;; need to think how to translate this
;; "dejar" [{:sem {:pred :leave-behind}}]


"dejar" [{:sem {:pred :leave-behind}}]
"deletrear" [{:sem {:pred :spell}}]
"desarrollar" [{:sem {:pred :develop}}]
"desear" [{:sem {:pred :desire}}]
Expand Down

0 comments on commit 72c02a8

Please sign in to comment.