glossarist / iev-data

1 stars 1 forks source link

Term attribute gender and plurality when not specified #81

Open ronaldtse opened 3 years ago

ronaldtse commented 3 years ago

If term attribute specifies gender, then we always set plurality.

For instance, if term attribute is f, then we set gender = f and plurality = singular. If term attribute does not specify gender, e.g. <some context>, then we set gender = nil and plurality = nil. Is it correct?

Originally posted by @skalee in https://github.com/glossarist/iev-data/issues/75#issuecomment-754274245

skalee commented 3 years ago

IMO this question is more about our concept model rather than about IEV itself. As far as I understand, IEC is primarily interested in how grammar classification is presented in Electropedia, and they probably want different rules for different languages. For example, for Serbian the current Electropedia site always displays plurality next to gender, no matter if expression is singular or plural, whereas for Polish it denotes plurality for plural expressions only.

I've created https://github.com/glossarist/concept-model/issues/20 related to our data model already.

ronaldtse commented 3 years ago

@skalee I would think that if the gender and plurality is not set we have to leave them undefined. nil or not is a matter of our own setting.