Skip to content

How to handle missing <sense> tags #69

@nkprasad12

Description

@nkprasad12

I've been making some corrections in a local repository for my personal use.

For a few entries I notices that what was intended to be an individual "sense" entry was accidentally included as part of another, i.e I see
<sense ... >[sense X text] (α) [sense Y text]<sense>

I would like to add the missing sense tag, so that it's: <sense ... >[sense X text]</sense><sense>[sense Y text]<sense>, but I'm unsure of which ID I should assign to the new sense. Should the new sense be given:

  • the lowest free ID (which preserves backwards compatibility, but meaning the IDs aren't in order anymore), or
  • the ID in "order" (which requires changing all sense items that come after)?

e.g. should

<sense id="n123.6" >[sense X text] (α) [sense Y text]</sense>
<sense id="n123.7">[sense Z text]</sense>`

become

<sense id="n123.6" >[sense X text]</sense>
<sense id="n123.8">[sense Y text]</sense>
<sense id="n123.7">[sense Z text]</sense>

or

<sense id="n123.6" >[sense X text]</sense>
<sense id="n123.7">[sense Y text]</sense>
<sense id="n123.8">[sense Z text]</sense>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions