The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
Unicode-LineBreak Package.

Copyright (C) 2009-2011 by Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu>.

This package is free software; you can redistribute it and/or modify it 
under the same terms as Perl itself.

Prerequisites
=============

Perl 5.8.0 or later is required.

Sombok library package is required.  If Sombok had not been installed,
bundled source will be used.
    https://sourceforge.net/projects/linefold/files/

Optionally, libthai package is needed to support Thai word segmentation:
    http://linux.thai.net/projects/libthai

Additionally, pkg-config will be required for libthai and/or shared
sombok library.

Install
=======

To build and install Unicode-LineBreak package, do:

  $ perl Makefile.PL
  $ make
  $ make test
  # make install

If you wish to disable libthai feature explicitly, do:

  $ perl Makefile.PL --with-bundled-sombok --disable-libthai
  $ make
  $ make test
  # make install

Documentations
==============

Three main modules and some supporting program files are contained. For
more details read following POD documentations:

    Text::LineFold - Line Folding for Plain Text
    Unicode::GCString - String as Sequence of UAX #29 Grapheme Clusters
    Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm

For japonophones, PODs in Japanese language are also included:

    Text::LineFold::JA_JP - プレインテキストの行折り
    Unicode::GCString::JA_JP - UAX #29 書記素クラスタの列としての文字列
    Unicode::LineBreak::JA_JP - UAX #14 Unicode 行分割アルゴリズム

$$