You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently collocateMarker has a uniqueness constraint on the lemma field. This means the following is invalid according to the spec
<entryid="frog">
<headword>frog</headword>
<example>
<text><collocateMarkerlemma="dog">dogs</collocateMarker> used to sit on <headwordMarker>frogs</headwordMarker> and now <collocateMarkerlemma="dog">dogs</collocateMarker> sit on logs</text>
</example>
</entry>
True. The lemma shouldn't be part of a collocateMarker's uniqueness constraint.
I think it's logical that the collocateMarker's startIndex and endIndex should be its uniqueness constraint: it should be prohibited to have two collocate markers on the same thing (on the same substring).
I have made this change in the prose.
michmech
added a commit
to michmech/lexidma
that referenced
this issue
Apr 16, 2024
Currently
collocateMarker
has a uniqueness constraint on thelemma
field. This means the following is invalid according to the specThis is an error in my opinion.
Relates to the implementation of #97
The text was updated successfully, but these errors were encountered: