Re: Visidata with RTL text

2022-06-16 Thread Dotan Cohen
LRE and PDF are generally only useful at the beginning of text lines.
RLM and LRM are useful in all places in a text line.

I use them often, I've even added them to my keyboard:
https://unix.stackexchange.com/questions/674997/new-keyboard-layout-variant-not-detected-after-reboot

On Mon, 13 Jun 2022 at 11:41, Tzafrir Cohen  wrote:
>
> Hi,
>
> On Mon, Jun 13, 2022 at 09:53:36AM +0300, Shachar Shemesh wrote:
> >
> > On 09/06/2022 19:10, Dotan Cohen wrote:
> > >   If anybody doesn't yet use Visidata, then give it a look. It is
> > > ostensibly a tool for looking at tabular data, like CSV files, but it
> > > works with so many formats that I find myself using it very often as
> > > it is easier to use than purpose-built tools. I even use it to poke
> > > around the filesystem sometimes.
> > >
> > > https://www.visidata.org/
> > >
> > > Visidata unfortunately places consecutive RTL cells in reverse order.
> > > Here's the bug that I filed:
> > > https://github.com/saulpw/visidata/issues/1392
> > >
> > > It would be great if someone could add something constructive to that
> > > bug report. I personally have many CSV files and other files with
> > > Hebrew and Arabic text. Thanks.
> >
> >
> > If you can find the part of the code that outpus, simply inserting
> > an "LRM" character between cells should, at the very least, greatly
> > improve things.
>
> Isn't that what LRE and PDF are for?
>
> --
> mail / xmpp / matrix: tzaf...@cohens.org.il
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Creating a Ladino spell-checker and including it in OS projects

2022-06-16 Thread Gabor Szabo
On Thu, Jun 16, 2022 at 10:44 AM Steve Litt 
wrote:

>
> I'm building a standalone spellchecker for well-formed XML HTML5
> right now. Maybe we can correspond. I don't know how to make a
> soundsalike algorithm.


Hi Steve,

I am not sure how is your project related to the Ladino spell-checker,
but I wonder, what you isn't that extracting the text from HTML and then
running the text through an already existing spell-checker?


Gabor
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Creating a Ladino spell-checker and including it in OS projects

2022-06-16 Thread Steve Litt
Gabor Szabo said on Wed, 1 Jun 2022 06:47:41 +0300

>Hi,
>
>I've been working on an online Ladino (Judeo-Espanyol) dictionary
>https://diksionaryo.szabgab.com/ The code is open source the content is
>CC BY-SA 4.0  https://creativecommons.org/licenses/by-sa/4.0/
>All linked from the About page.
>Along with the creation of the translation I also have a (growing)
>list of ladino words.
>
>I would like to make this available as a spell checker in various Open
>Source tools.
>E.g. Firefox, Chromium, LibreOffice etc.
>I wrote about it a few weeks ago
>https://szabgab.com/add-spellchecker-to-various-applications.html but
>I am still unclear what and how to do.
>
>I started to generate a pair of files that resemble the format of
>hspell, but I don't know how to really test them and in any case they
>don't seem to work well.
>I also don't know how to distribute what I already have and how to
>make it included in those projects.
>
>Anyone here has experience with spell-checkers?
>Could anyone help me in the project or at least point me in the right
>direction?

I'm building a standalone spellchecker for well-formed XML HTML5
right now. Maybe we can correspond. I don't know how to make a
soundsalike algorithm.

Thanks,

SteveT

Steve Litt 
March 2022 featured book: Making Mental Models: Advanced Edition
http://www.troubleshooters.com/mmm

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il