Search with ss and ß

This might be a feature request or a bug fix, but maybe there’s already a way I can enable search so that “ss” would find words with both ss and ß; and vice versa.
For example, heißen might also be written as heissen, but the search doesn’t recognize both.

In short, I want that if I type heiß in the search, I would get both variants. Same with heiss.
I’m tired of writing “heiß OR heiss”.

2 Likes

You can use the nc: search feature that was recently added.

3 Likes

Just now I entered into the search bar:”Deck:Verbs" nc:heissen
Unfortunately, the note heißen did not appear.
The same with the query “Deck:Verbs" nc:heiss.

Try nc:heißen

1 Like

Search for nc:heißen instead.

1 Like

If I understood correctly, then if there is an note heissen, the search nc:heißen will also not work.
Otherwise, this looks like a one-sided implementation: searching with ß finds both ß and ss, but searching with ss does not find ß.

Yes, in my deck there are words written with ss and others written with ß. And I have no desire to overhaul the whole thing just to bring everything into a single form. :roll_eyes:

It will work if you combine it with other search patterns, e.g. like so:

1 Like

Thanks for the information, but that’s not quite it.

My case:
In Anki I have a deck with words, and in class the teacher just handed out a photocopy from some textbook with a list of words.
So I sit and type the beginning of each word to check whether I already have it in Anki or if I need to add it.
Basically, I just keep the search open and enter what I see on the sheet: heiss (even though it says heissen there), erzähl…, and so on. Just a couple of syllables, to reduce the number of results.
I think you’ll agree that in this format it’s not very convenient to write a long query like nc:heiß*en.
Alright, I’ll put up with it.:face_exhaling:

You’re right. Actually, it can be shortened to nc:heiß* – not a lot, but still better than the other version.

nc:heisen will match heißen (ß gets normalised to s)

4 Likes

It still doesn’t work.
I have an note heißen, and when I search with nc:heiss* (like heissen in the photocopy) it doesn’t show up.
So ss is not interpreted as ß.

No, you have to search with a single s.

And with the info llama provided, you can shorten in even more to nc:heis.

3 Likes

Add this example to the manual! :slight_smile:

I added an issue (Add an example for `nc:` (ss and ß) · Issue #450 · ankitects/anki-manual · GitHub).

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.