On Mon, Dec 29, 2003 at 10:59:13PM +0200, Shachar Shemesh wrote:
> Shai Bentin wrote:
> 
> >Hi,
> >
> >I'm looking for a hebrew "visual 2 logical" and "logical 2 visual", that 
> >will run on linux or other unix machines...
> >
> >If anybody knows of such code I'll be happy for a pointer.
> >
> >Thanks,
> >
> > 
> >
> The only visual 2 logical I know of is ICU 
> (http://www-124.ibm.com/developerworks/oss/icu/project/index.html). Be 
> warned, however, that the project is difficult to install in binary, as 
> you cannot create backwards compatible shared objects with it. It is 
> also, basically, using pure guesswork to do it's stuff - I'm not sure it 
> will gain you much.

I must add that in addition to what was (correctly) said, many times
the algorithm is its self reverse - that is, many times log2vis and
vis2log are the same. So if it's not for something very important, you
can simply use fribidi/bidiv (which do log2vis) as a poor man's vis2log
and it will work well.
Maybe some better-equipped bidi professional would like to respond to
this (and either say I am mostly right, hopefully with some analysis,
or say I am completely wrong).
A better approximation might (or might not) be that when running log2vis
on a visual string and then again log2vis on the output, will most times
give you the same original. So even if the guess was wrong (which might
be important e.g. for sorting etc.), it was ok for viewing only (which
is always doing log2vis anyway).
-- 
Didi

> 
>          Shachar
> 
> -- 
> Shachar Shemesh
> Open Source integration & consulting
> Home page & resume - http://www.shemesh.biz/
> 
> 
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to