NAME
genbrk
- Compiles ICU break iteration rules source files into binary data files
SYNOPSIS
genbrk
[
R -h, -?, --help
]
[
R -V, --version
]
[
R -c, --copyright
]
[
R -v, --verbose
]
[
I -d, --destdir destination
]
[
I -i, --icudatadir directory
]
I -r, --rules rule-file
I -o, --out output-file
DESCRIPTION
genbrk
reads the break (boundary) rule source code from
rule-file
and creates a break iteration data file. Normally this data file has the
.brk
extension.
The details of the rule syntax can be found in ICU's User Guide.
OPTIONS
R -h, -?, --help
Print help about usage and exit.
R -V, --version
Print the version of
genbrk
and exit.
R -c, --copyright
Embeds the standard ICU copyright into the
R output-file .
R -v, --verbose
Display extra informative messages during execution.
I -d, --destdir destination
Set the destination directory of the
R output-file
to
R destination .
I -i, --icudatadir directory
Look for any necessary ICU data files in
R directory .
For example, the file
pnames.icu
must be located when ICU's data is not built as a shared library.
The default ICU data directory is specified by the environment variable
R ICU_DATA .
Most configurations of ICU do not require this argument.
I -r, --rules rule-file
The source file to read.
I -o, --out output-file
The output data file to write.
CAVEATS
When the
R rule-file
contains a byte order mark (BOM) at the beginning of the file, which is the Unicode character
U+FEFF,
then the
R rule-file
is interpreted as Unicode. Without the BOM,
the file is interpreted in the current operating system default codepage.
In order to eliminate any ambiguity of the encoding for how the
R rule-file
was written, it is recommended that you write this file in UTF-8
with the BOM.
ENVIRONMENT
ICU_DATA
Specifies the directory containing ICU data. Defaults to
R /usr/share/icu/3.6/ .
Some tools in ICU depend on the presence of the trailing slash. It is thus
important to make sure that it is present if
ICU_DATA
is set.
AUTHORS
George Rhoten
Andy Heninger
VERSION
1.0
COPYRIGHT
Copyright (C) 2005 IBM, Inc. and others.
SEE ALSO
R http://icu.sourceforge.net/userguide/boundaryAnalysis.html