Pyhyphen 0.10 released

2 views
Skip to first unread message

Leo

unread,
Jul 18, 2010, 8:37:39 AM7/18/10
to pyhy...@googlegroups.com
Hi,

I have just released PyHyphen 0.10. It contains the following
improvements over 0.9.3:
- added win32 binary for Python 2.7
- updated the en_US dictionary
- most notably: the hyphenator class has been renamed to 'Hyphenator'
to be compliant with the naming convention for classes. 'hyphenator'
is still available though deprecated.

On Stephen's proposal regarding the avail_dicts.lst file on the OO
website: I have not added this feature as it would have required major
changes. The file contains meta data on all available dictionaries.
This is very useful and it should make installation of dictionaries
safer. Indeed, currently, not all dictionaries can be used as not all
comply with the file name structure assumed in dictools.install().
Eventually, Hyphenator.__init__() would need to work with the meta
data to ease the use of dictionaries such as de_DE instead of de_AT
etc. But this takes some time which I do not have presently. So maybe
I will work on these features for one of the next releases. Thanks to
Stephen anyway for the hint.

However, I have committed a change to dictools which adds a function
load_avail_list. It downloads the file and returns it as a Python list
of dictionaries using the csv module. It optionally pickles the list
so that it could be used by dictools.install or Hyphenator. But this
is only an initial step and of no practical use at this stage.

Leo

On 29/06/2010, Leo <fhax...@googlemail.com> wrote:
> Stephen,
>
> thanks.
>
> - Defect: I tend to consider this to be a defect of hyphen.c or the
> specification for dict formats. The oo team should consider your
> useful patch.
>
> - request: Good idea. I wonder how best to implement this without
> causing too much of effort. How about a function like
> dictools.is_installable('de_AT') which apps can call when
> dictools.install() has raised an exception? Any other idea? - Feel
> free to send a patch of dictools.py!
>
> Regards
> Leo
>
>
> On 29/06/2010, Stephen P <stephen...@gmail.com> wrote:
>> I take it you have seen the two issues I've posted.
>>
>> http://code.google.com/p/pyhyphen/issues/list
>>
>> One is a request the other is a bugfix with a patch.
>>
>> On Jun 23, 7:27 am, Leo <fhaxbo...@googlemail.com> wrote:
>>> Hi,
>>>
>>> I plan to release shortly with support for P2.7.
>>>
>>> any other ideas? is a new release of the C lib forthcoming?
>>>
>>> Leo
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pyhyphen" group.
>> To post to this group, send email to pyhy...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> pyhyphen+u...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/pyhyphen?hl=en.
>>
>>
>

Reply all
Reply to author
Forward
0 new messages