Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cardinality of core objects #52

Closed
DavidFatDavidF opened this issue Nov 27, 2023 · 2 comments · Fixed by #73
Closed

Cardinality of core objects #52

DavidFatDavidF opened this issue Nov 27, 2023 · 2 comments · Fixed by #73
Assignees
Labels
core affects DMLEX Core documentation Improvements or additions to documentation editorial

Comments

@DavidFatDavidF
Copy link
Contributor

Do we really want to allow lexicographic resources with zero entries? Similarly, entries with zero senses?

@michmech
Copy link
Contributor

michmech commented Dec 11, 2023

Re: lexicographic resources with zero entries

I think we do want to allow it if we want to allow the existence of lexicographic resources that contain only relations (between entries/senses in other lexicographic resources).

We should probably say that a valid lexicographic resource must contains at least one of: entry, relation.

But, relations are defined in the (optional) Linking Module. So, we should probably swing it like this:

  • In the Core, say that a lexicographic resource must contain at least one entry.

  • In the Linking Module, relax that and say that, if you’re implementing the Linking Module, a lexicographic resource must contain at least one of: entry, relation.

Re: entries with zero senses

I think we want to allow it in order to allow the existence of entries which serve only as members of relations, such as spelling variants whose only purpose is to redirect human users to other entries.

An example of that is shown in "A.1.16 Modelling variants" in the text. There are two entries there, with headwords "colour" and "color" respectively. The second one is empty (no senses) and labelled as "American spelling". The first one is non-empty (has senses) and labelled as "European spelling". The two entries are linked through a relation object of type "variants".

@DavidFatDavidF
Copy link
Contributor Author

Decision Dec 12 meeting:

  1. top level
    We stick with allowing empty lexicographic resources, we add a note explaining how a resource w/o entries can be useful via linking module or otherwise
  2. entry
    entry w/o senses makes sense due to linking or as WIP
    we will also have an explanatory note

@DavidFatDavidF DavidFatDavidF added documentation Improvements or additions to documentation editorial core affects DMLEX Core labels Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core affects DMLEX Core documentation Improvements or additions to documentation editorial
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants