Hi,
a new feature relase is out. The switch from OpenOffice to LibreOffice
required major changes. hence the beta status.
See a list of changes below.
There is a ToDo list in the repo. I cannot do any of these due to time
constraints. Any help is highly welcome.
Happy hypenation!
Leo
New in Version 2.0
The hyphen.dictools module has been completely rewritten. This was required
by the switch from OpenOffice to LibreOffice which does no longer
support the
old formats for dictionaries and meta data. these changes made it
impossible to release a stable v1.0.
The new dictionary management is more
flexible and powerful. There is now a registry for locally installed
hyphenation dictionaries. Each dictionary
can have its own file path. It is thus possible to add persistent
metadata on pre-existing hyphenation
dictionaries, e.g. from a LibreOffice installation.
Each dictionary and hence Hyphenator can now be
associated with multiple locales such as for 'en_US' and 'en_NZ'. These
changes cause some backwards-incompatible API changes.
Further changes are:
* Hyphenator.info is of a container type for 'url', 'locales' and
'filepath' of the dictionary.
* the Hyphenator.language attribute is deprecated
* download and install dictionaries from LibreOffice's git repository by
default
* dictools.install('xx_YY') will install all dictionaries found for the
'xx' language and associate them with all relevant locales
as described in the dictionaries.xcu file in LibreOffice's git
repository.
* upgraded the `C library libhyphen
<
http://sourceforge.net/projects/hunspell/files/Hyphen/>`_
to v2.8.3
* use lib2to3 instead of separate code bases
* dropped support for Python 2.4 and 2.5