ICU sort rules - quotation marks

13 views
Skip to first unread message

Susie

unread,
Oct 21, 2026, 5:59:13 AM (yesterday) Oct 21
to FLEx list
Hi all,

We have some words in our lexicon that are inherently in quotation marks (ideophones that do not follow the normal syllable structure of the language).  However, I want them to sort according to their first letter, not according to the quotation marks.  I know that I should do this in ICU rules, but I don't know how to make the ICU rule that ignores the quotation mark (0022).  Can someone help me?  

The current ICU rule we have, which ignores word-forming apostrophes, is the following: &[last tertiary ignorable]=\u02bc.

Thanks so much!
Susie

Carin Boone

unread,
Oct 21, 2026, 7:11:52 AM (yesterday) Oct 21
to flex...@googlegroups.com
Hi Susie,

Why would you want to have them in quotation marks in the dictionary?
Aren't the quotation marks an orthographic device you use in texts to signal that these words have a different form?
Could the label 'idéophone' suffice in the dictionary to indicate that these words are different (as ideophones often are anyway)?

Carin
--
"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 visit https://groups.google.com/d/msgid/flex-list/7392fdac-a827-4770-a85e-0fdce8297e9cn%40googlegroups.com.

Jean Paul Gotopo Maldonado

unread,
Oct 21, 2026, 11:17:55 AM (yesterday) Oct 21
to flex...@googlegroups.com

Yes, you can extend your existing rule by adding the double quotation mark:

&[last tertiary ignorable] = \u02BC = '"'

This preserves your current treatment of the apostrophe (U+02BC) and also ignores the straight double quotation mark (U+0022) when sorting. FieldWorks documents this approach: separate the characters to ignore with = and enclose punctuation in single quotes.

In '"', the outer single quotes delimit the character; the double quotation mark between them is the character being ignored.

If your entries also contain curly double quotation marks, include those as well:

&[last tertiary ignorable] = \u02BC = '"' = '“' = '”'

The quotation marks will remain visible in your entries, but the words will sort according to their letters.


Susie

unread,
5:26 AM (10 hours ago) 5:26 AM
to FLEx list
Thank you, Jean Paul!  That worked!
Carin, I will respond privately by e-mail. Thanks for your thoughts, too.  :)
Susie

Reply all
Reply to author
Forward
0 new messages