Flex Character Sorting for Export and dictionary view in Language Explorer 9

77 views
Skip to first unread message

Lang-Tech Nepal

unread,
May 3, 2021, 1:12:41 AM5/3/21
to FLEx list
Hi, 

Can you please help me with this. 
I am trying to export my flex to LibreOffice After I exported, I see a problem which is also seen in Language Explorer. 
The character here and ॱव  are supposed to be sorted under same headword for character  .   and ॱव have difference in this symbol -->   ॱ   high tone symbol . As you can see in the  picture below the entries  are in separate headwords and and this is same on the entire dictionary, not just this character
Does anyone have idea on how to fix this? 
What I want is both the characters to be under single headword
2021-05-03 10_43_59-Window.png
Regards
Ressa

Andreas_Joswig

unread,
May 3, 2021, 2:40:06 AM5/3/21
to flex...@googlegroups.com
Dear Ressa,
I think it should work if you use ICU sorting for your writing system. You get there in the "set up vernacular writing systems" dialogue by clicking on the "sorting" tab.

When you click on that tab, you should see the following window:
Most likely, in your project this is set to "Default Ordering" in the red-circled "Sort:" field. You you need to select "Custom ICU rules" from the drop-down list. The editing-area below that (still in the red circle) is empty, and needs to be filled according to the needs of your language. You only need to enter lines for character orders that are different from the order of the Unicode. So in your case you'll want to add a line that says:

& व << ॱव

If you have other combined characters, you should add lines that parallel this line. "&" starts the statement. The two "<<" symbols between your two different characters make it that ॱव is sorted under the same character as व. If you have three "<<<" between the two characters, then the dot will be ignored entirely for sorting purposes.
Hit "OK", and your sort order should work properly, but you probably need to refresh your screen for it to take effect.
Best wishes,
Andreas
Regards
Ressa
--
"FLEx list" messages are public. Only members can post.
flex_d...@sil.org
http://groups.google.com/group/flex-list.
---
You received this message because you are subscribed to the Google Groups "FLEx list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flex-list+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flex-list/e1c2f9dd-da09-454a-b7be-c770ff6a0520n%40googlegroups.com.


Lang-Tech Nepal

unread,
May 3, 2021, 8:42:09 AM5/3/21
to flex...@googlegroups.com
Hi, 

Thank you for your quick response. I tried doing what you said but it doesn't work. 
ॱ = 0971 (unicode) 

As you can see, I have circled the 0971= ॱ ,  which gets exported as the head letter for the dictionary in the second picture. 

image.png

What my Export looks like:
 
image.png

While exporting i don't want the entries of all this to be on different head letters as if they are different, but even with  ॱ  + [any unicode value], it needs to be sorted under same head letter if the value of unicode followed after the ॱ  is same.
 Like on the sample above, I want all the entries to be under same head letter   although some letters starts with ॱ म 

 I want my export to look like this:
image.png

As you can see the word ॱमीङेन् is under the same head letter not under this head letter =  ‌ॱ 
I wonder if my description is clearer.

Regards
Ressa



--

Lang-Tech Nepal
IT Support, SIL International Nepal

Kevin Warfel

unread,
May 3, 2021, 11:46:53 AM5/3/21
to flex...@googlegroups.com

Hi Ressa,

Given the experience that I have had with this kind of problem, I expected that what Andreas wrote would work. So I am surprised to read here that it has not had the intended effect. Can you please share with us an image of what you have on the Sorting tab of the Vernacular Writing System Properties?

Here, for example, is what I have in one of my FLEx projects on the Sorting tab:

The only difference in pattern between what I have and what Andreas recommended to you is that I included on each line the upper-case form of the letter immediately preceding the character being dealt with on the line. (For example, the digraph kh is to be sorted immediately after k, so upper-case K is at the beginning of the line dealing with kh.) I don't know how important that detail is. I am also not very familiar with the script you are using, so I don't know if there is something specific to that script that requires a different solution than I am accustomed to using.

Kevin

Lang-Tech Nepal

unread,
May 3, 2021, 6:37:11 PM5/3/21
to flex...@googlegroups.com
Hi Kevin and Andreas, 
Thank you so much for your help. Previously i had done for only one letter so the results weren't obvious because the sorting in the Lexicon edit also changed [which confused me hehehe]. 
I added more letters/ characters to do the sorting, and there the results came out so perfectly [hehe]. 

Thank you so much. It helped me a lot. :) 

Regards
Ressa


Kevin Warfel

unread,
May 4, 2021, 8:29:01 AM5/4/21
to flex...@googlegroups.com

I'm glad to know that this worked for you. It's the way I've helped a number of users to fix sorting problems, so I thought it should work, but I was curious to know if there is something special about the script you're using that requires a different solution. It's good to know that it works for your case as well.

Kevin

Reply all
Reply to author
Forward
Message has been deleted
0 new messages