Skip to content

some words can have several genders: support? #2

@guillaume-d

Description

@guillaume-d

Some (a few?) words in German can have different genders depending on the meaning, like der/das Teil, for which DerDieDas the moment only accept das (although AFAIK der might be the more commonly used).
AFAICU you data source for genders is Wiktionary, which gets it right: https://de.wiktionary.org/wiki/Teil
The trickiest example I know is der/die/das(!) Band: https://de.wiktionary.org/wiki/Band
For that one there is some disambiguating text in the Wiktionary article after the gender, which could be added to have different questions, like: "Band (Musikgruppe)" -> die, "Band (Reifen)" -> das, "Band (Stoffstreifen/Plastikstreifen)" -> das, etc.

As handling this correctly in a generic way seems like a lot of work, my suggestion is:

  1. treat Teil, Band and the other (few?) cases manually in the DerDieDas app itself by either replacing the single gender with more variants as outlined above, or at the very minimum delete multi-gender words altogether once spotted, as keeping only one gender would be teaching something wrong / misleading
  2. maybe extend https://github.com/digitapex/ParseWiktionary so that it can at least detect multi-gender words to get a feeling about how much words may have multiple genders

Also:

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