View Single Post
Old 01-18-2018, 06:41 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
FWIW: The ICU tools include a transliterator called "Any-Publishing" that converts publishing punctuation to typewriter punctuation. For example, it converts ‘“foo”’ to '"foo"'. It might make sense to use it in a variant of "primary_contains" so searching ignores the accent types. I don't understand enough about how you did the ICU python bindings to know a) if this idea is feasible or b) how to do it if it is feasible.

It also might make sense to use something like the transliterator in the content server to process the search strings.
chaley is offline   Reply With Quote