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

    Function normalizeTerm

    • Normalise a single term: lowercase, expand German umlauts the way German search users expect (Brücken and Bruecken must match), then strip any remaining combining marks. Deterministic and independent of the host locale — toLowerCase is called without a locale argument on purpose, since a Turkish locale would otherwise map I differently and change the index on a different machine.

      Parameters

      • term: string

      Returns string