@maschinenlesbar.org/oparl-cli
    Preparing search index...

    Function contractUmlautSpellings

    • The same text with the German umlaut spellings contracted, so ae/oe/ue compare equal to a/o/u: "koeln" and "köln" (folded to "koln") both become "koln".

      Only used as a second pass, because it also collapses ordinary words — "Aue" becomes "au" and matches half the register. See searchMatches.

      Parameters

      • folded: string

      Returns string