including noun's form as ; further tagging clean-up

parent 542fdec9
......@@ -238,12 +238,14 @@
:call (mapcat ;TODO: extract semantic-category from lexicon-entry
(fn [b]
(map (fn [lex]
(assoc b (? :num) (:numerus lex)))
(assoc b (? :num) (:numerus lex)
(? :cat) (:form lex)))
(get lex-by-id (get b (? :lex))))))
:merge #{[(? :interpretation) :referent (? :ref)]
[(? :interpretation) :numerus (? :num)]
[(? :ref) :isa "Referent"]
[(? :ref) :has-number-value (? :num)]
[(? :ref) :category (? :cat)]
;[(? :ref) :tag :semantics]
}
:search-preference :min-bindings
......@@ -463,29 +465,29 @@
[(? :trajector-role-2) :classifies (? :trajector)]
[(? :cause-motion) :evokes (? :spg)]
[(? :spg) :isa "SPGSchema"]
[(? :spg) :tag :semantics]
;[(? :spg) :tag :semantics]
[(? :spg) :has-constituent (? :source-role)]
[(? :source-role) :isa "Source"]
;[(? :source-role) :tag :semantics]
[(? :source-role) :classifies (? :source)]
[(? :spg) :has-constituent (? :path-role)]
[(? :path-role) :isa "Path"]
[(? :path-role) :tag :semantics]
;[(? :path-role) :tag :semantics]
[(? :path-role) :classifies (? :path)]
[(? :spg) :has-constituent (? :goal-role)]
[(? :goal-role) :isa "Goal"]
[(? :goal-role) :tag :semantics]
;[(? :goal-role) :tag :semantics]
[(? :goal-role) :classifies (? :goal)]
[(? :term-state) :satisfies (? :tl-schema)]
[(? :tl-schema) :isa "TLSchema"]
[(? :tl-schema) :tag :semantics]
;[(? :tl-schema) :tag :semantics]
[(? :tl-schema) :has-constituent (? :trajector-role)]
[(? :trajector-role) :isa "Trajector"]
[(? :trajector-role) :tag :semantics]
;[(? :trajector-role) :tag :semantics]
[(? :trajector-role) :classifies (? :trajector)]
[(? :tl-schema) :has-constituent (? :landmark-role)]
[(? :landmark-role) :isa "Landmark"]
[(? :landmark-role) :tag :semantics]
;[(? :landmark-role) :tag :semantics]
[(? :landmark-role) :classifies (? :goal)]
;[(? :generalized-location) :has-spatial-modality (? :to-be-determined)]
}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment