Re: chemistry character set

2018-03-15 Thread Mike Dewhirst
On 16/03/2018 12:40 AM, Peter of the Norse wrote: I ran into a similar problem with one of my projects; people were using Greek and Cyrillic letters and other symbols to be cute.  It’s all in English, but they kept doing things like using ß for B and ¥ for Y.  And then expecting to be able to

Re: chemistry character set

2018-03-15 Thread Peter of the Norse
I ran into a similar problem with one of my projects; people were using Greek and Cyrillic letters and other symbols to be cute. It’s all in English, but they kept doing things like using ß for B and ¥ for Y. And then expecting to be able to search the way they way it looks. So I am doing

Re: chemistry character set

2018-02-15 Thread Mike Dewhirst
On 15/02/2018 10:19 PM, Hanne Moa wrote: On 2018-02-06 12:51, Mike Dewhirst wrote: Thank you. I think this is where we probably need to go. I asked the original question because I'm hoping the project will reach a tipping point and start to accumulate a growing number of multilingual users.

Re: chemistry character set

2018-02-15 Thread Hanne Moa
On 2018-02-06 12:51, Mike Dewhirst wrote: > Thank you. I think this is where we probably need to go. I asked the > original question because I'm hoping the project will reach a tipping > point and start to accumulate a growing number of multilingual users. We > have our first multinational user

Re: chemistry character set

2018-02-06 Thread Mike Dewhirst
On 6/02/2018 10:08 PM, Jason wrote: At first glance, I thought this was an easy problem to have, but apparently it is certainly not!  I came across an Oracle whitepaper  that describes how

Re: chemistry character set

2018-02-06 Thread Mike Dewhirst
On 6/02/2018 10:27 PM, Julio Biason wrote: Hi Mike, One thing that occurs me is that you can override the model save() to update another field -- one that the user doesn't have access. On that function, you will write a new field, say `sortable_name` in which you'll transfor the chemical

Re: chemistry character set

2018-02-06 Thread Julio Biason
Hi Mike, One thing that occurs me is that you can override the model save() to update another field -- one that the user doesn't have access. On that function, you will write a new field, say `sortable_name` in which you'll transfor the chemical name into something that will appear in the proper

Re: chemistry character set

2018-02-06 Thread Jason
At first glance, I thought this was an easy problem to have, but apparently it is certainly not! I came across an Oracle whitepaper that describes how to sort your linguistic data, and

chemistry character set

2018-02-05 Thread Mike Dewhirst
Chemical names start with both upper and lower case as well as Greek characters. Chemical names also exist in multiple non-western non-latin languages. To get lists of chemicals sorting more or less "correctly" I currently slugify with allow_unicode=True. This for example gets tert-Butyl...