Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzy Hotword matching #105

Open
LeonMatthes opened this issue Jun 29, 2020 · 0 comments
Open

Fuzzy Hotword matching #105

LeonMatthes opened this issue Jun 29, 2020 · 0 comments

Comments

@LeonMatthes
Copy link

As a poweruser of Algernon, I want to be able to use shortened versions of Hotwords in order to work faster by typing less.

Possible implementations:

Acronyms for hotwords

use b for browse, h for help, etc.
-> This is more to memorize, as some hotword acronyms might overlap if we just choose the first letter. This might also require changes in the future if more hotwords are added.

Fuzzy matching

Use the same fuzzy matching algorithm for hotwords as for the rest of the search.
As hotwords replace the entire search results, they are rather agressive. Mutliple solutions to fix this could be chosen:

  • Only match hotwords if their fuzzy matched score is above a certain value
  • Add non-completely matched hotword results into the list of normal results. (Maybe weighted by the match percentage)
    • This might reduce performance by a lot and/or be confusing

The fuzzy matching approach feels like the most generic, which is nice, especially to add new hotwords.
However, it might be confusing for users and its not quite as fast, as just typing a single letter.

@niklasmohrin niklasmohrin added this to Unplanned in Summer 2021 Apr 28, 2021
@TheGrayStone TheGrayStone moved this from Unplanned to Discussion in Summer 2021 May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Summer 2021
Discussion
Development

No branches or pull requests

2 participants