Skip to content

Transliteration of accented characters in / search #1800

Description

@hanzpo

Is your feature request related to a problem? Please describe.

When looking for songs with accented characters (e.g. Tití Me Preguntó by Bad Bunny), using / on an English keyboard doesn't find the song given the query "Titi Me Pregunto". Additionally, for non-roman alphabets (like Chinese or Japanese), searching for their romanizations doesn't return the song ("gao bai qi qiu" for "告白氣球" by Jay Chou).

Describe the solution you'd like

  1. (easier to implement) Accent normalization for languages like spanish, french, etc using the unicode-normalization package
  2. (harder to implement) Romanization for languages like Chinese, Japanese. This would be more complex because sometimes the romanizations are context-specific, not a simple 1 to 1 conversion.

Describe alternatives you've considered

The F2 search returns the correct songs in the instances I outlined but only because that uses the Spotify API, which supports these

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions