Content-type: text/html Man page of xerox

xerox

Section: User Commands (1)
Index Return to Main Contents Utorrent Ubuntu
 

NAME

xerox - Sort and add missing entries in the bedic dictionary  

SYNOPSIS

xerox [-d] [--verbose] [--help] infile outfile

xerox [--generate-char-precedence <locale>] [--verbose] [--help] dicfile

 

DESCRIPTION

The first command invocation, with an input and output file, can be used to sort, generate index and add missing header properties in zbedic dictionary. See bedic-format.txt for more information on the format of bedic dictionaries.

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.

 

OPTIONS

-d

Ignored. SHCM compression is no longer used. Kept for compatibility with the previous version of xerox.

--generate-char-precedence <locale>, -g <locale>

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}...

 

WARNING AND ERROR MESSAGES

Duplicate entry

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.

Maximum dictionary length exceeded

Currectly bedic can handle dictionaries up to about 2,147,483,647 bytes.

 

BUGS

To be found.

 

SEE ALSO

mkbedic(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
WARNING AND ERROR MESSAGES
BUGS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 08:47:24 GMT, June 27, 2005