SongGuess
    Preparing search index...

    Function normalizeSongName

    • Normalizes a song title by converting it to lowercase and stripping non-alphanumeric characters and optionally parenthetical metadata.

      Parameters

      • name: string

        The original song title to be processed.

      • removeParens: boolean

        If true, removes content in () or [] (e.g., " (feat. Artist)").

      Returns string

      The processed and normalized string.

      convertToAlnum