• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/html/H28-Oct-2019-2,3061,943

m4/H03-May-2022-9,0578,186

src/H03-May-2022-10,3738,612

tools/H03-May-2022-324237

AUTHORSH A D04-Sep-2018474 148

DoxyfileH A D06-Jun-202048.5 KiB1,197850

LICENCEH A D28-Oct-20191 KiB2218

Makefile.amH A D04-Sep-2018472 3021

Makefile.inH A D03-May-202227.8 KiB903795

NEWSH A D06-Jun-20202.6 KiB8963

README.mdH A D04-Sep-20182.8 KiB9669

aclocal.m4H A D06-Jun-202041.2 KiB1,1431,038

compileH A D19-May-20197.2 KiB349259

config.guessH A D19-May-201943.1 KiB1,4771,284

config.h.inH A D06-Jun-20201.6 KiB6241

config.subH A D19-May-201935.3 KiB1,8021,661

configureH A D06-Jun-2020414.9 KiB14,13411,814

configure.acH A D06-Jun-2020307 1412

depcompH A D19-May-201923 KiB792502

install-shH A D19-May-201915 KiB519337

libunibreak.pc.inH A D09-Nov-2013266 1210

ltmain.shH A D19-May-2019316.5 KiB11,1487,979

missingH A D19-May-20196.7 KiB216143

README.md

1LIBUNIBREAK
2===========
3
4Overview
5--------
6
7This is the README file for libunibreak, an implementation of the line
8breaking and word breaking algorithms as described in [Unicode Standard
9Annex 14][1] and [Unicode Standard Annex 29][2].  Check the project's
10[home page][3] for up-to-date information.
11
12  [1]: http://www.unicode.org/reports/tr14/
13  [2]: http://www.unicode.org/reports/tr29/
14  [3]: https://github.com/adah1972/libunibreak
15
16
17Licence
18-------
19
20This library is released under an open-source licence, the zlib/libpng
21licence.  Please check the file *LICENCE* for details.
22
23Apart from using the algorithm, part of the code is derived from the
24[Unicode Public Data][4], and the [Unicode Terms of Use][5] may apply.
25
26  [4]: http://www.unicode.org/Public/
27  [5]: http://www.unicode.org/copyright.html
28
29
30Installation
31------------
32
33There are three ways to build the library:
34
351. On \*NIX systems supported by the autoconfiscation tools, do the
36   normal
37
38        ./configure
39        make
40        sudo make install
41
42   to build and install both the dynamic and static libraries.  In
43   addition, one may
44   - type `make doc` to generate the doxygen documentation; or
45   - type `make linebreakdata` to regenerate *linebreakdata.c* from
46     *LineBreak.txt*.
47   - type `make wordbreakdata` to regenerate *wordbreakdata.c* from
48     *WordBreakProperty.txt*.
49   - type `make graphemebreakdata` to regenerate *graphemebreakdata.c*
50     from *GraphemeBreakProperty.txt*.
51   - type `make emojidata` to regenerate *emojidata.c* from
52     *emoji-data.txt*.
53
542. On systems where GCC and Binutils are supported, one can type
55
56        cd src
57        cp -p Makefile.gcc Makefile
58        make
59
60   to build the static library.  In addition, one may
61   - type `make debug` or `make release` to explicitly generate the
62     debug or release build;
63   - type `make doc` to generate the doxygen documentation; or
64   - type `make linebreakdata` to regenerate *linebreakdata.c* from
65     *LineBreak.txt*.
66   - type `make wordbreakdata` to regenerate *wordbreakdata.c* from
67     *WordBreakProperty.txt*.
68   - type `make graphemebreakdata` to regenerate *graphemebreakdata.c*
69     from *GraphemeBreakProperty.txt*.
70   - type `make emojidata` to regenerate *emojidata.c* from
71     *emoji-data.txt*.
72
733. On Windows, apart from using method 1 (Cygwin/MSYS) and method 2
74   (MinGW), MSVC can also be used.  Type
75
76        cd src
77        nmake -f Makefile.msvc
78
79   to build the static library.  By default the debug version is built.
80   To build the release version
81
82        nmake -f Makefile.msvc CFG="libunibreak - Win32 Release"
83
84
85Documentation
86-------------
87
88Check the generated document *doc/html/linebreak\_8h.html*,
89*doc/html/wordbreak\_8h.html*, and *doc/html/graphemebreak\_8h.html* in
90the downloaded file for the public interfaces exposed to applications.
91
92
93<!--
94vim:autoindent:expandtab:formatoptions=tcqlmn:textwidth=72:
95-->
96