UAX #14 Unicode Line Breaking Algorithm - Perl binding
C Perl XS Perl6
Switch branches/tags
Unicode-LineBreak-2017.004 Unicode-LineBreak-2016.007_02 Unicode-LineBreak-2016.003 Unicode-LineBreak-2016.002_27 Unicode-LineBreak-2015.12 Unicode-LineBreak-2015.011_09 Unicode-LineBreak-2015.011_03 Unicode-LineBreak-2015.11 Unicode-LineBreak-2015.06 Unicode-LineBreak-2014.06 Unicode-LineBreak-2014.004_26 Unicode-LineBreak-2013.11 Unicode-LineBreak-2013.10 Unicode-LineBreak-2013.008_06 Unicode-LineBreak-2013.004_26 Unicode-LineBreak-2013.003_11 Unicode-LineBreak-2012.10 Unicode-LineBreak-2012.008_16 Unicode-LineBreak-2012.007_14 Unicode-LineBreak-2012.06 Unicode-LineBreak-2012.005_18 Unicode-LineBreak-2012.04 Unicode-LineBreak-2012.003_30 Unicode-LineBreak-2012.003_26 Unicode-LineBreak-2012.003_13 Unicode-LineBreak-2012.003_11 Unicode-LineBreak-2012.02 Unicode-LineBreak-2012.001_29 Unicode-LineBreak-2011.12 Unicode-LineBreak-2011.11 Unicode-LineBreak-2011.010_26 Unicode-LineBreak-2011.010_21 Unicode-LineBreak-2011.05 Unicode-LineBreak-2011.04.26 Unicode-LineBreak-2011.04 Unicode-LineBreak-2011.03.21 Unicode-LineBreak-2011.003_13 Unicode-LineBreak-2011.003_11 Unicode-LineBreak-2011.003_06 Unicode-LineBreak-2011.003_05 Unicode-LineBreak-2011.03.05 Unicode-LineBreak-2011.03 Unicode-LineBreak-2011.002_30 Unicode-LineBreak-2011.002_26 Unicode-LineBreak-2011.002_19 Unicode-LineBreak-2011.002_11 Unicode-LineBreak-2011.01 Unicode-LineBreak-2011.000_01 Unicode-LineBreak-1.011 Unicode-LineBreak-1.010 Unicode-LineBreak-1.009 Unicode-LineBreak-1.008_07 Unicode-LineBreak-1.008_06 Unicode-LineBreak-1.008_05 Unicode-LineBreak-1.008_04 Unicode-LineBreak-1.008_03 Unicode-LineBreak-1.008.2 Unicode-LineBreak-1.008_02 Unicode-LineBreak-1.008.1 Unicode-LineBreak-1.008_01 Unicode-LineBreak-1.008 Unicode-LineBreak-1.007.520 Unicode-LineBreak-1.006.520 Unicode-LineBreak-1.005.520 Unicode-LineBreak-1.004.520 Unicode-LineBreak-1.003.520 Unicode-LineBreak-1.003_11 Unicode-LineBreak-1.003_09 Unicode-LineBreak-1.003_08 Unicode-LineBreak-1.003_07 Unicode-LineBreak-1.003_06 Unicode-LineBreak-1.003_05 Unicode-LineBreak-1.003_04 Unicode-LineBreak-1.003_02 Unicode-LineBreak-1.003_01 Unicode-LineBreak-1.002.510 Unicode-LineBreak-1.001.510 Unicode-LineBreak-1.000.510 Unicode-LineBreak-1.000_02 Unicode-LineBreak-1.000_01 Unicode-LineBreak-0.005.510 Unicode-LineBreak-0.004.510 Unicode-LineBreak-0.003.510 Unicode-LineBreak-0.002.510 Unicode-LineBreak-0.001.510 Unicode-LineBreak-0.001_11 Unicode-LineBreak-0.001_10 Unicode-LineBreak-0.001_03 Unicode-LineBreak-0.001_02 Unicode-LineBreak-0.01_01 Unicode-LineBreak-0.01_01pre1 Unicode-LineBreak-0.001 1.003_01 1.000_02
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
sombok @ 0098d85
t
test-data @ dd46a73
.gitignore
.gitmodules
ARTISTIC
Changes
Changes.REL1
GPL
LineBreak.xs
MANIFEST
Makefile.PL
Makefile.PL.sombok
README
Todo.REL1
perl-Unicode-LineBreak.spec
ppport.h
typemap

README

===========================================================
Unicode-LineBreak - UAX #14 Unicode Line Breaking Algorithm
===========================================================

Unicode-LineBreak Package is Copyright (C) 2009-2017,
by Hatuka*nezumi - IKEDA Soji.

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:

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

For Other Language
==================

Python
    pytextseg: http://pypi.python.org/pypi/pytextseg/

Author
======

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


$$