[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#471312: ITP: libhyphenate -- An hyphenation library for C++



Guus Sliepen schrieb:

Hello Guus,

> > > >  In contrast to the libhnj implementation, this one isn't broken.
> > > 
> > > I think you should remove this line from the package description.
[...]

> There is no libhnj in sid anymore. There is libhyphen, which says it's a
> modified version of libhnj based on the TeX algorithm. Have a look at
> it, maybe it does the same as your libhyphenate. If not, maybe you can
> merge your improvements with libhyphen.

Thanks for the input, hadn't realized that there is an active version
of libhnj around. I've had a long and thorough look at it, and unfortu-
nately it still uses the same old libhnj code - which is 5000 lines of
basically undocumented code (compared to libhyphenate's 1300 heavily
documented lines for a lot more functionality). Back when I wrote lib-
hyphenate, I tried to improve that code, and it proved quite hard - a
lot harder than a complete rewrite. 

On the positive side, I've a small C file here that provides a library
interface that is binary-compatible to libhyphen. I'll write to the
maintainers of libhyphen, check with them on my implementation (which
even fixes libhyphen bugs), and make sure that libhyphen gets replaced
if possible. There really should not be two libraries with the same job
around, but unfortunately libhyphen is unmaintainable.

> If you do package libhyphenate and want to mention libhnj, just say in
> the long description that it works similar as libhnj but has an improved
> algorithm. Even though you think it sucks, the package description is
> not the place to complain about other packages.

Thank you very much for your help. I've changed the description to:

The new version of the comment is:
 This library provides an implementation of Frank Liangs hyphenation 
 algorithm, better known as the TeX hyphenation algorithm, for C++ and C.
 The algorithm is similar to the one used by libhnj/libhyphen, but
 handles hyphenation-free areas at the start and end of words correctly.
 libhyphenate1 supports English, German, French and Spanish out of
 the box, and every site with a TeX installation can distill its
 TeX hyphenation files for more languages.
 .
 This package comes with complete documentation for the interface
 and the process of pattern generation.

Is that better?

Regards, Steve

-- 
Steve Wolter (Univ. of Bielefeld)| Web page: http://swolter.sdf1.org
                                 | vCard:    http://swolter.sdf1.org/swolter.vcf
 A witty saying proves nothing.  | Schedule: http://swolter.sdf1.org/swolter.ifb
    -- Voltaire (1694-1778)      | E-mail:   swolter@sdf.lonestar.org

Attachment: signature.asc
Description: Digital signature


Reply to: