Skip to content

[en] Include lemma on inflected forms #1590

@cacfd3a

Description

@cacfd3a

Consider the Russian word ёж.

Consider the generated information from the declension table for ежа́ (singular accusative):

    {
      "form": "ежа́",
      "roman": "ježá",
      "source": "declension",
      "tags": [
        "accusative",
        "animate",
        "singular"
      ]
    }

ru-noun-table helpfully adds a stress marker on the а, but the Wiktionary lemma does not have this marker: ежа. On the HTML on Wiktionary, you can see that 'ежа́' is displayed, but it links to (and has as title) 'ежа'.

<a href="/wiki/ежа#Russian" title="ежа">ежа́</a>

Since Wiktionary itself provides the lemma, I request that you do not throw away the data on the lemma, but put it in a field of its own. For example, a dedicated lemma field to these generated forms:

    {
      "form": "ежа́",
      "lemma": "ежа", <- add this field
      "roman": "ježá",
      "source": "declension",
      "tags": [
        "accusative",
        "animate",
        "singular"
      ]
    }

This is similar to the word field and canonical tag on headwords.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions