| 1 |
=========================================================== |
| 2 |
Unicode-LineBreak - UAX #14 Unicode Line Breaking Algorithm |
| 3 |
=========================================================== |
| 4 |
|
| 5 |
Unicode-LineBreak Package is Copyright (C) 2009-2018, |
| 6 |
by Hatuka*nezumi - IKEDA Soji. |
| 7 |
|
| 8 |
This package is free software; you can redistribute it and/or modify it |
| 9 |
under the same terms as Perl itself. |
| 10 |
|
| 11 |
Prerequisites |
| 12 |
============= |
| 13 |
|
| 14 |
Perl 5.8.0 or later is required. |
| 15 |
|
| 16 |
Sombok library package is required. If Sombok had not been installed, |
| 17 |
bundled source will be used. |
| 18 |
https://sourceforge.net/projects/linefold/files/ |
| 19 |
|
| 20 |
Optionally, LibThai package is needed to support Thai word segmentation: |
| 21 |
http://linux.thai.net/projects/libthai/ |
| 22 |
|
| 23 |
Additionally, pkg-config will be required for libthai and/or shared |
| 24 |
sombok library. |
| 25 |
|
| 26 |
Install |
| 27 |
======= |
| 28 |
|
| 29 |
To build and install Unicode-LineBreak package, do: |
| 30 |
|
| 31 |
$ perl Makefile.PL |
| 32 |
$ make |
| 33 |
$ make test |
| 34 |
# make install |
| 35 |
|
| 36 |
If you wish to disable libthai feature explicitly, do: |
| 37 |
|
| 38 |
$ perl Makefile.PL --with-bundled-sombok --disable-libthai |
| 39 |
$ make |
| 40 |
$ make test |
| 41 |
# make install |
| 42 |
|
| 43 |
Documentations |
| 44 |
============== |
| 45 |
|
| 46 |
Three main modules and some supporting program files are contained. For |
| 47 |
more details read following POD documentations: |
| 48 |
|
| 49 |
Text::LineFold - Line Folding for Plain Text |
| 50 |
Unicode::GCString - String as Sequence of UAX #29 Grapheme Clusters |
| 51 |
Unicode::LineBreak - UAX #14 Unicode Line Breaking Algorithm |
| 52 |
|
| 53 |
For japonophones, PODs in Japanese language are also included: |
| 54 |
|
| 55 |
POD2::JA::Text::LineFold - プレインテキストの行折り |
| 56 |
POD2::JA::Unicode::GCString - UAX #29 書記素クラスタの列としての文字列 |
| 57 |
POD2::JA::Unicode::LineBreak - UAX #14 Unicode 行分割アルゴリズム |
| 58 |
|
| 59 |
For Other Language |
| 60 |
================== |
| 61 |
|
| 62 |
Python |
| 63 |
pytextseg: http://pypi.python.org/pypi/pytextseg/ |
| 64 |
|
| 65 |
Author |
| 66 |
====== |
| 67 |
|
| 68 |
Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu>. |
| 69 |
|
| 70 |
|
| 71 |
$$ |