Ignore local letters in searches

Broken link? Feature request? Anything related to the Spectrum Computing website here.
Ralf
Manic Miner
Posts: 743
Joined: Mon Nov 13, 2017 11:59 am
Location: Poland

Ignore local letters in searches

Post by Ralf » Sat Mar 17, 2018 10:11 am

Another one to wishlist ;)

Let's start from the example. There is a game Una Extraña Historia
https://spectrumcomputing.co.uk/index.p ... 6&id=30173

But if you search for "Una Extrana Historia", without this Spanish "ñ", it won't be found.

As you may guess, I even wouldn't know how to type this "ñ" in my Polish Windows ;)

So would it be possible that search engine worked if I type n instead of ñ too?

Preferably It would apply to all such letters, Spanish, German, Polish, Czech...
0 x

User avatar
PeterJ
Site Admin
Posts: 689
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Ignore local letters in searches

Post by PeterJ » Sat Mar 17, 2018 10:32 am

@Ralf

You make a good point. Let me speak to @Einar Saukas . We already do a lot of substitutions on the searches to make things easier, and hopefully we can do something here.

I do have a slight worry though as keyboards in other countries I assume have these accents (I think that is the right term), so we don't want to stop their searches working for these users.

We need to all use Esperanto!

Einar or I will update you.

Peter
0 x

Ralf
Manic Miner
Posts: 743
Joined: Mon Nov 13, 2017 11:59 am
Location: Poland

Re: Ignore local letters in searches

Post by Ralf » Sat Mar 17, 2018 1:03 pm

Thanks!

Yes, you can call these things "accents". But do you know that there is a word "ogonek" in English language? ;)

https://en.wikipedia.org/wiki/Ogonek

It's directly borrowed from Polish language, usually we in Poland borrow a lot of English words and it's one of rare, opposite cases :)

Anyway, the best solution would be if search worked if you type a letter both with and without ogonek.
0 x

User avatar
PeterJ
Site Admin
Posts: 689
Joined: Thu Nov 09, 2017 7:19 pm
Location: Surrey, UK

Re: Ignore local letters in searches

Post by PeterJ » Sat Mar 17, 2018 1:11 pm

@Ralf that is my word of the day!
0 x

User avatar
Nomad
Manic Miner
Posts: 600
Joined: Thu Dec 28, 2017 12:38 pm

Re: Ignore local letters in searches

Post by Nomad » Sat Mar 17, 2018 1:28 pm

Ralf you might like þis video



þe old glyphs were very useful It's a shame we don't have þem any more.
Last edited by Nomad on Sat Mar 17, 2018 1:43 pm, edited 3 times in total.
0 x

User avatar
Guesser
Dizzy
Posts: 76
Joined: Wed Nov 15, 2017 2:35 pm

Re: Ignore local letters in searches

Post by Guesser » Sat Mar 17, 2018 1:40 pm

Ralf wrote:
Sat Mar 17, 2018 10:11 am
As you may guess, I even wouldn't know how to type this "ñ" in my Polish Windows ;)
I'm a big fan of compose keys as found on "real operating systems" :lol:

On Windows I use this: https://github.com/samhocevar/wincompose

I can type all sorts of crazy characters ñŷø¼»ΘΩπλäÆfiŞĈ°§ß :)
1 x
My rubbish website including the redrawn Amstrad schematics and the new home of the Sinclair FAQ wiki.

User avatar
Ast A. Moore
Manic Miner
Posts: 598
Joined: Mon Nov 13, 2017 3:16 pm

Re: Ignore local letters in searches

Post by Ast A. Moore » Sat Mar 17, 2018 3:40 pm

Guesser wrote:
Sat Mar 17, 2018 1:40 pm
I'm a big fan of compose keys as found on "real operating systems" :lol:

On Windows I use this: https://github.com/samhocevar/wincompose

I can type all sorts of crazy characters ñŷø¼»ΘΩπλäÆfiŞĈ°§ß :)
Neat. Odd that Windows requires a third-party tool for this. Is there really no standard method for printing these? Like holding down a modifier and pressing a letter key?

P.S. On macOS, the “Ω” symbol is mapped to the Z key. I’ve always loved it, because Z is the symbol for impedance. :D (R produces ®, which is logical, but altogether unremarkable.)
0 x
Every man should plant a tree, build a house, and write a ZX Spectrum game.

Author of A Yankee in Iraq, a 50 fps shoot-’em-up—the first game to utilize the floating bus on the +2A/+3,
and zasm Z80 Assembler syntax highlighter.

User avatar
Einar Saukas
Manic Miner
Posts: 448
Joined: Wed Nov 15, 2017 2:48 pm

Re: Ignore local letters in searches

Post by Einar Saukas » Sat Mar 17, 2018 3:57 pm

Ralf wrote:
Sat Mar 17, 2018 10:11 am
Another one to wishlist ;)

Let's start from the example. There is a game Una Extraña Historia
https://spectrumcomputing.co.uk/index.p ... 6&id=30173

But if you search for "Una Extrana Historia", without this Spanish "ñ", it won't be found.

As you may guess, I even wouldn't know how to type this "ñ" in my Polish Windows ;)

So would it be possible that search engine worked if I type n instead of ñ too?

Preferably It would apply to all such letters, Spanish, German, Polish, Czech...
Good point! This will be in the next ZXDB update.
0 x

User avatar
Einar Saukas
Manic Miner
Posts: 448
Joined: Wed Nov 15, 2017 2:48 pm

Re: Ignore local letters in searches

Post by Einar Saukas » Sat Mar 17, 2018 4:01 pm

Ast A. Moore wrote:
Sat Mar 17, 2018 3:40 pm
Neat. Odd that Windows requires a third-party tool for this. Is there really no standard method for printing these? Like holding down a modifier and pressing a letter key?
You can hold ALT while typing the symbol code.
0 x

Ralf
Manic Miner
Posts: 743
Joined: Mon Nov 13, 2017 11:59 am
Location: Poland

Re: Ignore local letters in searches

Post by Ralf » Sat Mar 17, 2018 4:33 pm

Odd that Windows requires a third-party tool for this. Is there really no standard method for printing these? Like holding down a modifier and pressing a letter key?
You can hold ALT while typing the symbol code.
That's true but you should also remember that let's say Alt+N won't always work the same way

For me it gives me now a Polish letter ń (which is a different letter than Spanish ñ ;) )

If you are English you then could never wander there but there is an option in Windows Control Panel to choose your language and keyboard layout as there may be several layouts in one language. I'm currently using Polish "programmer layout" which is different from traditional "typewriter lady layout".

And I can switch my settings to another language but if you don't know the language, you won't know the letters and the shortcuts.
0 x

Post Reply