Content-type: text/html
xerox [--generate-char-precedence <locale>] [--verbose] [--help] dicfile
The second command invocation, with --generate-char-precedence switch, is be used to generate char-precedence property. To learn more on char-precedence, see bedic-format.txt. See also the description of --generate-char-precedence switch below.
Ignored. SHCM compression is no longer used. Kept for compatibility with the previous version of xerox.
When this option is specified, xerox expects a file name of a single dictionary file. It then reads this file, finds all letters that form key-words in that dictionary, sorts those letters using glib collation for locale <locale> and then prints char-precedence header property to the Standard Output. To see the list of available locale on your system configuration, invoke locale -a. If the needed locale is missing, you may need to add it to /etc/locale.gen file and run locale-gen as root. See man page of locale-gen for more information.
Note that the generated char-precedence property must be manually corrected before using it for the dictionary. This is because the currect implementation of collcation in glibc is not perfect and additionally glib collation can not group letters, that is generate {aA}{bB}...
xerox will print out the entries that are not discernable using current character precedence settings and therefore they are not accessible by bedic (bedic requires that all key-words are unique). Do not use search-ignore-chars and set the proper char-precedence property to avoid duplicate entries.
Currectly bedic can handle dictionaries up to about 2,147,483,647 bytes.
To be found.