1 .\" Hey, Emacs! This is -*-nroff-*- you know...
3 .\" gendict.1: manual page for the gendict utility
5 .\" Copyright (C) 2016 and later: Unicode, Inc. and others.
6 .\" License & terms of use: http://www.unicode.org/copyright.html
7 .\" Copyright (C) 2012 International Business Machines Corporation and others
9 .TH GENDICT 1 "1 June 2012" "ICU MANPAGE" "ICU @VERSION@ Manual"
12 \- Compiles word list into ICU string trie dictionary
19 .BI "\fB\-\-transform" " transform"
22 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
25 .BR "\-V\fP, \fB\-\-version"
28 .BR "\-c\fP, \fB\-\-copyright"
31 .BR "\-v\fP, \fB\-\-verbose"
34 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
40 reads the word list from
42 and creates a string trie dictionary file. Normally this data file has the
46 Words begin at the beginning of a line and are terminated by the first whitespace.
47 Lines that begin with whitespace are ignored.
50 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
51 Print help about usage and exit.
53 .BR "\-V\fP, \fB\-\-version"
58 .BR "\-c\fP, \fB\-\-copyright"
59 Embeds the standard ICU copyright into the
62 .BR "\-v\fP, \fB\-\-verbose"
63 Display extra informative messages during execution.
65 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
66 Look for any necessary ICU data files in
70 must be located when ICU's data is not built as a shared library.
71 The default ICU data directory is specified by the environment variable
73 Most configurations of ICU do not require this argument.
76 Set the output trie type to UChar. Mutually exclusive with
80 Set the output trie type to Bytes. Mutually exclusive with
83 .BR "\fB\-\-transform"
84 Set the transform type. Should only be specified with
86 Currently supported transforms are:
87 .BR offset-<hex-number>,
88 which specifies an offset to subtract from all input characters.
89 It should be noted that the offset transform also maps U+200D
90 to 0xFF and U+200C to 0xFE, in order to offer compatibility to
91 languages that require these characters.
92 A transform must be specified for a bytes trie, and when applied
93 to the non-value characters in the
95 must produce output between 0x00 and 0xFF.
98 The source file to read.
101 The file to write the output dictionary to.
105 is assumed to be encoded in UTF-8.
108 that are used as values must be made up of ASCII digits. They
109 may be specified either in hex, by using a 0x prefix, or in
119 Specifies the directory containing ICU data. Defaults to
120 .BR @thepkgicudatadir@/@PACKAGE@/@VERSION@/ .
121 Some tools in ICU depend on the presence of the trailing slash. It is thus
122 important to make sure that it is present if
130 Copyright (C) 2012 International Business Machines Corporation and others
132 .BR http://www.icu-project.org/userguide/boundaryAnalysis.html