Skip to content

Option to sort by length of the suggestion #84

@dejavecue

Description

@dejavecue

Hi Maniac and thanks in advance for your great program.

In some languages, German for example, we have what is linguistically called compound nouns.
The English 'speed limits' becomes 'Geschwindigkeitsbegrenzung' for example and that leads to a small problem with the program: It does not offer the words in an order that makes a lot of sense for German. If I type 'Gesch', it starts offering me Geschichtswissenschaftlerinnen (!) as the first word, instead of maybe Geschichte.

I realise this may not be super problematic for English-only users, but is there a way to sort suggestion by length, i.e. show shortest first? That would probably make more sense for some languages (I think Turkish might benefit as well) as well as solve problems with plurals being suggested before singulars (in languages that append -s for example).

To be absolutely open, I downloaded a German wordlist.txt and an English wordlist.txt, let the program absorb them both and thus started with a huge database to begin with, so if the error comes from that, you may ignore it (although I think the function would be nice nevertheless)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions