שלום, יש כאן מימוש של האלגוריתם שכתבתי: http://code.google.com/p/subflip/
<http://code.google.com/p/subflip/>זה היה במקור בשביל לסדר קבצי כתוביות של סרטים כדי לראות אותם בלי תמיכה בתוכנה, אבל זה כולל מימוש מלא ונפרד של האלגוריתם. אפשר לראות ב-test_bidi_algorithm.py שימוש ישיר באלגוריתם, וב-subflip.py הפונקציה visualize עושה כל מה שצריך. כנראה שאני צריך להעביר את זה לפרוייקט אחר - לא נראה לי שלמישהו יש צורך בתכלית המקורית של הפרוייקט. אני מקווה שזה עוזר, נעם On Sun, Apr 18, 2010 at 3:05 PM, Meir Kriheli <[email protected]> wrote: > Hi, > > I'm looking for a pure python, non GPL, implementation of logical to > visual library. > > Long story short: > > I'd like to add BiDi support for ReportLab, see Moshe's thread: > > http://two.pairlist.net/pipermail/reportlab-users/2009-June/008447.html > > He's using pyfribidi, a binding for fribidi: > > http://pyfribidi.sourceforge.net/ > > > Problems ? > > 1. Depends on a c lib, which makes deployment harder on various > platforms (easy_install, buildout etc). > > 2. They messed with the license. fribidi is LGPL, but they chose GPL for > pyfribidi, which spells potential problems using/distributing it with > ReportLab (BSD licensed). > > Cheers > -- > Meir Kriheli > _______________________________________________ > Python-il mailing list > [email protected] > http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il >
_______________________________________________ Python-il mailing list [email protected] http://hamakor.org.il/cgi-bin/mailman/listinfo/python-il
