improve lexical relations
dwhieb opened this issue · 0 comments
dwhieb commented
Divide lexical relations into:
- cross-references (lexeme level)
- lexical relations (sense level)
This mirrors the organization in FLEx.
Update the schemas to use the following properties
label
: the label to display before the cross-referenceplural
: the label to display before the cross-reference, if there are more than onerelation
the name of the cross-reference relation (e.g. Synonym, Part/Whole, Adjective Scale)relationType
:unidirectional
|bidirectional
|open set
|enumerated set
members
: either
a. [enumerated sets] an object hash whose keys are the member slots (e.g.positive
,comparative
, andsuperlative
)
b. [sets] an array of IDs of items in that set (may include the ID of the current item)