Hi Allan,
I have the same problem and same error message (though on line 1441792). In my case the source is FLEx>LIFT. My remedy is to change sort using to Custom Simple Rules.
I also have a problem trying to export from Lexique Pro to an .rtf file. Only 800 entries are printed, out of 10,000. Do you have anything comparable.
Kemp
-----Original Message-----
From: flex...@googlegroups.com
[mailto:flex...@googlegroups.com] On
Behalf Of Allan Johnson
Sent: 10 December 2009 14:25
To: flex...@googlegroups.com
Subject: Re: [FLEx] Re: printing problems
Hi Paul,
Any insight yet on this one?
I have a slightly different scenario this time, but this time I'm
getting exactly the same error messages that you've been getting. I'm
looking at an SFM database in Lexique Pro, and the settings originally
came from opening a LIFT version of this that was exported by SOLID.
wasn't involved at all in this. When I first open the database I
get the first error you mentioned:
Failed to sort lexical entries: Error parsing ICU rules on line
1376256, offset 48:
When I go to:
Tools; Configure; Languages; Language Properties tab;
Select the Lexicon Language; Configure;
I find that it's set to sort using "ICU Custom Collation rules" and that
some custom collation rules have been set up for me. I don't see any
sign of these rules in the LIFT file, so my best guess is that Lexique
Pro itself set these up for me when I did the initial LIFT import. The
rules I find look like this:
&A<a<aÌ
&B<b
&C<c
&D<d
&E<e<eÌ
--
You received this message because you are subscribed to the discussion group "FLEx list". This group is hosted by Google Groups and is open for anyone to browse.
To post to this group, send email to flex...@googlegroups.com
To unsubscribe from this group, send email to flex-list-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/flex-list
I’m checking with Richard Margetts (LexiquePro author) to see if he has determined what’s happened and how it can be fixed.
Ken
A little more insight... Yesterday I transferred the Lexique Pro project to a another computer on which I had just installed the same version of Lexique Pro (3.2.3). On this second computer the ICU sorting problem did not appear. No error messages upon opening the project. On this second computer, going to: Tools; Configure; Languages; Language Properties tab; Select the Lexicon Language; Configure I found it still set for "ICU Custom Collation rules", and I found the same custom collation rules as before. But this time when I clicked "Test", it reported that the rules were parsed successfully. So the problem isn't with the settings or collation rules in this particular project. It -can- work fine, given the right circumstances. On my own computer, the one which is having the problem, I tried freshly installing Lexique Pro, hoping that this would provide the needed "right circumstances". But this didn't do it. Same error messages. I did find one thing that made these things work correctly on my computer. I went to "C:\Program Files\Common Files", temporarily renamed the "SIL" folder to "SILx", and once again started Lexique Pro. Now the ICU sorting works correctly just as on the other computer. Narrowing down to one particular file in "C:\Program Files\Common Files\SIL", I find that renaming just "icuuc40.dll" has the same effect as renaming the whole folder. Apparently Lexique Pro tries to use this file if found, but gets along fine without it. Redoing the Lexique Pro installation once more, I found that it put nothing into "C:\Program Files\Common Files\SIL". So apparently this dll didn't come with Lexique Pro. Maybe it came with FLEx? Allan
Kenges
The Custom Simple rule solution was Kåre Stromme’s idea. .
Re the loss of subentries in Lexique Pro: from what I can see the program treats these as separate main entries, but locates them under the main entry in which they occur.
So the subentry pagaddat “show respect” is parked between addat “custom” and and addun “mix dough” with the same indentation.
Kemp
From: flex...@googlegroups.com
[mailto:flex...@googlegroups.com] On Behalf Of Allan Johnson
Sent: 18 December 2009 13:04
To: flex...@googlegroups.com
Subject: Re: [FLEx] Re: printing
problems
By the way - until this ICU glitch gets figured out, I've found that Kemp's solution mentioned several emails back takes care of the problem:
&A<a<aÌ
&B<b&C<c&D<d
&E<e<eÌ
Paul
Paul / Allan,
Normally these rules are written with a capital letter because you
don't want the new letters inserted after the lower case g and before
the upper case G. There is an implied rule:
g <<< G (lower g before upper G in tertiary sort).
So the rule is better stated:
&G<gh<<<Gh<<<GH
&N<ng<<<Ng<<<NG
&T<th<<<Th<<<TH
Then if you want publishing solution to export the letter dividers,
you also go to the Phenemes item in the Grammar view and add:
gh aspirated velar stop
ng nasalized velar stop
th aspirated alveolar stop
or whatever descriptions please you.
Then the XHTML export (and Publishing solution will be able to display
the letter header).
Note that if you wanted to add a palitalized aveolar nasal, you
probably want to add the rule:
&NG<ny<<<Ny<<<NY
and the phoneme:
ny palitalized aveolar nasal (or whatever)
See also: http://code.google.com/p/typeset-dictionary/wiki/DiagraphHeaders
"Three left wedges are used for tertiary level collation. This is
typically used for case. Tertiary level sorting only affects strings
that are identical through the secondary level.
&n<ng<<<Ng<<<NG
&c<k<<<K"
Indeed, every collocation rule in the article is begun with a lower
case letter. As someone who doesn't know what they're doing in this
area, I followed the Help file...
Paul