|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| doc/html/ | H | 28-Oct-2019 | - | 2,306 | 1,943 |
| m4/ | H | 03-May-2022 | - | 9,057 | 8,186 |
| src/ | H | 03-May-2022 | - | 10,373 | 8,612 |
| tools/ | H | 03-May-2022 | - | 324 | 237 |
| AUTHORS | H A D | 04-Sep-2018 | 474 | 14 | 8 |
| Doxyfile | H A D | 06-Jun-2020 | 48.5 KiB | 1,197 | 850 |
| LICENCE | H A D | 28-Oct-2019 | 1 KiB | 22 | 18 |
| Makefile.am | H A D | 04-Sep-2018 | 472 | 30 | 21 |
| Makefile.in | H A D | 03-May-2022 | 27.8 KiB | 903 | 795 |
| NEWS | H A D | 06-Jun-2020 | 2.6 KiB | 89 | 63 |
| README.md | H A D | 04-Sep-2018 | 2.8 KiB | 96 | 69 |
| aclocal.m4 | H A D | 06-Jun-2020 | 41.2 KiB | 1,143 | 1,038 |
| compile | H A D | 19-May-2019 | 7.2 KiB | 349 | 259 |
| config.guess | H A D | 19-May-2019 | 43.1 KiB | 1,477 | 1,284 |
| config.h.in | H A D | 06-Jun-2020 | 1.6 KiB | 62 | 41 |
| config.sub | H A D | 19-May-2019 | 35.3 KiB | 1,802 | 1,661 |
| configure | H A D | 06-Jun-2020 | 414.9 KiB | 14,134 | 11,814 |
| configure.ac | H A D | 06-Jun-2020 | 307 | 14 | 12 |
| depcomp | H A D | 19-May-2019 | 23 KiB | 792 | 502 |
| install-sh | H A D | 19-May-2019 | 15 KiB | 519 | 337 |
| libunibreak.pc.in | H A D | 09-Nov-2013 | 266 | 12 | 10 |
| ltmain.sh | H A D | 19-May-2019 | 316.5 KiB | 11,148 | 7,979 |
| missing | H A D | 19-May-2019 | 6.7 KiB | 216 | 143 |
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