1 .\" Hey, Emacs! This is -*-nroff-*- you know...
3 .\" gendict.1: manual page for the gendict utility
5 .\" Copyright (C) 2012 International Business Machines Corporation and others
7 .TH GENDICT 1 "1 June 2012" "ICU MANPAGE" "ICU @VERSION@ Manual"
10 \- Compiles word list into ICU string trie dictionary
17 .BI "\fB\-\-transform" " transform"
20 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
23 .BR "\-V\fP, \fB\-\-version"
26 .BR "\-c\fP, \fB\-\-copyright"
29 .BR "\-v\fP, \fB\-\-verbose"
32 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
38 reads the word list from
40 and creates a string trie dictionary file. Normally this data file has the
44 Words begin at the beginning of a line and are terminated by the first whitespace.
45 Lines that begin with whitespace are ignored.
48 .BR "\-h\fP, \fB\-?\fP, \fB\-\-help"
49 Print help about usage and exit.
51 .BR "\-V\fP, \fB\-\-version"
56 .BR "\-c\fP, \fB\-\-copyright"
57 Embeds the standard ICU copyright into the
60 .BR "\-v\fP, \fB\-\-verbose"
61 Display extra informative messages during execution.
63 .BI "\-i\fP, \fB\-\-icudatadir" " directory"
64 Look for any necessary ICU data files in
68 must be located when ICU's data is not built as a shared library.
69 The default ICU data directory is specified by the environment variable
71 Most configurations of ICU do not require this argument.
74 Set the output trie type to UChar. Mutually exclusive with
78 Set the output trie type to Bytes. Mutually exclusive with
81 .BR "\fB\-\-transform"
82 Set the transform type. Should only be specified with
84 Currently supported transforms are:
85 .BR offset-<hex-number>,
86 which specifies an offset to subtract from all input characters.
87 It should be noted that the offset transform also maps U+200D
88 to 0xFF and U+200C to 0xFE, in order to offer compatibility to
89 languages that require these characters.
90 A transform must be specified for a bytes trie, and when applied
91 to the non-value characters in the
93 must produce output between 0x00 and 0xFF.
96 The source file to read.
99 The file to write the output dictionary to.
103 is assumed to be encoded in UTF-8.
106 that are used as values must be made up of ASCII digits. They
107 may be specified either in hex, by using a 0x prefix, or in
117 Specifies the directory containing ICU data. Defaults to
118 .BR @thepkgicudatadir@/@PACKAGE@/@VERSION@/ .
119 Some tools in ICU depend on the presence of the trailing slash. It is thus
120 important to make sure that it is present if
128 Copyright (C) 2012 International Business Machines Corporation and others
130 .BR http://www.icu-project.org/userguide/boundaryAnalysis.html