Transformer documentation: se_tpb_hyphenator

Transformer Purpose

This transformer injects the input document's text nodes with soft hyphen (U+00AD) at all possible breakpoints following the hyphenation rules of the current language.

Input Requirements

An xml document with @xml:lang on the element surrounding the text nodes to hyphenate.

Output

The input document, hyphenated.

On success

A hyphenated xml document.

On error

Configuration/Customization

Parameters (tdf)

input
The input xml file
output
The output xml file
breakLimitBegin
The number of characters from the beginning where a break is allowed to first occur, default is two
breakLimitEnd
The number of characters from the end where a break is allowed to last occur, default is two

Extended configurability

Further development

Dependencies

texhyphj.jar

Author

Joel HÃ¥kansson, TPB

Licensing

LGPL