#1 2010-07-27 08:31:39

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,682
Website

Hyphenation in Delphi

We made some years ago a Delphi unit for hyphenation of text.

Such an unit, together with our SynPdf library for example, could be useful in your application. So we released the source!

What it hyphenation?

wikipedia wrote:

The hyphen ( ‐ ) is a punctuation mark used to join words and to separate syllables of a single word. It is often confused with dashes ( –, —, ― ), which are longer and have different uses, and with the minus sign ( − ) which is also longer. The use of hyphens is called hyphenation.

Our engine does rely on Libhnj, more exactly on the version enhanced for use in Open Office.
See http://lingucomponent.openoffice.org/hyphenator.html

You can download the source code from
http://synopse.info/files/hyphen.zip

There are english, french, italian and spanish hyphen tables included (as pure delphi .res) in this release. But you can use official Open Office tables if you want another languages.

No external dll is necessary, you can hyphen any word directly in your Delphi project.

It was developed and tested under Delphi 7 and Kylix 3, under both Windows and Linux. If you need it, I could make a version compatible up to Delphi 2010.

Source code released as dual licensed under LGPL and MPL, like the original Libhnj library, so you can use it in both GPL and commercial products.

This is a first release, as draft. If you find it useful, we may enhance and document it.

Offline

#2 2013-03-11 09:49:50

RBA
Member
Registered: 2013-03-11
Posts: 1

Re: Hyphenation in Delphi

First of all, I want to thank you for making public your hypenation engine. Do you have any plans for upgrading it to the latest Delphi versions?

Offline

#3 2013-03-11 09:51:49

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,682
Website

Re: Hyphenation in Delphi

Please create a ticket in http://synopse.info/fossil

We can include it to the main repository.

Offline

#4 2017-10-25 12:19:25

sh17
Member
Registered: 2011-08-09
Posts: 31

Re: Hyphenation in Delphi

Is it included in main repository?

Offline

Board footer

Powered by FluxBB