Email or username:

Password:

Forgot your password?
Top-level
Sebastian Lasse, redaktor.me

@grishka

Yay.
redaktor got that too. I am interested in “Alphabet doesn't matter” - can you give a pointer to code?
What I did a while ago is in
github.com/redaktor/widgets-pr
and worked on phonetic search …

PS, just in case anyone needs to detect languages, this covers 800+ … github.com/redaktor/languages

3 comments
Gregory

@sl007 github.com/grishka/Smithereen/

I use this github.com/jirutka/unidecode to transliterate everything into Latin alphabet and store these strings in a separate table (qsearch_index). So, basically, search only ever operates on Latin strings.

Gregory

@sl007 so because:
- I convert names into Latin when creating and updating the search index
- I convert search queries into Latin when searching
I could type your name in Cyrillic and still find you:

Gregory

@sl007 also notice that there's a Sebastián with an accented á and it still found him

Go Up