0
|
1 .\"
|
|
2 .\" $Id: atod.man,v 1.1 2001/06/18 09:09:49 ura Exp $
|
|
3 .\"
|
|
4 .\"
|
|
5 .\" FreeWnn is a network-extensible Kana-to-Kanji conversion system.
|
|
6 .\" This file is part of FreeWnn.
|
|
7 .\"
|
|
8 .\" Copyright Kyoto University Research Institute for Mathematical Sciences
|
|
9 .\" 1987, 1988, 1989, 1990, 1991, 1992
|
|
10 .\" Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
|
11 .\" Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
|
|
12 .\" Copyright FreeWnn Project 1999, 2000, 2001
|
|
13 .\"
|
|
14 .\" Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
|
15 .\"
|
|
16 .\" This program is free software; you can redistribute it and/or modify
|
|
17 .\" it under the terms of the GNU General Public License as published by
|
|
18 .\" the Free Software Foundation; either version 2 of the License, or
|
|
19 .\" (at your option) any later version.
|
|
20 .\"
|
|
21 .\" This program is distributed in the hope that it will be useful,
|
|
22 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
23 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
24 .\" GNU General Public License for more details.
|
|
25 .\"
|
|
26 .\" You should have received a copy of the GNU General Public License
|
|
27 .\" along with this program; if not, write to the Free Software
|
|
28 .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
29 .\"
|
|
30 .TH ATOD \ "30 April 2001"
|
|
31 .SH NAME
|
|
32 .sv 1
|
|
33 .nf
|
|
34 .ta 0.1i 2i
|
|
35 atod EUC Text to Binary Dictionary Converter
|
|
36 .fi
|
|
37 .SH SYNOPSIS
|
|
38 .sv 1
|
|
39 .nf
|
|
40 .ta 0.1i 3i
|
|
41 atod [-s \fInumber_of_word_entries\fR] [-R] [-S] [-U] [-r] [-N] [-n]
|
|
42 [-P \fIpassword_file\fR] [-p \fIfrequency_password_file\fR]
|
|
43 <\fIbinary_dictionary\fR>
|
|
44 .fi
|
|
45 .SH DESCRIPTION
|
|
46 .HP 0
|
|
47 .IP
|
|
48 atod converts an appropriately formatted euc-encoded dictionary text
|
|
49 from standard input to the binary dictionary format used by wnn. The
|
|
50 default EUC encoding is UJIS. To use other euc encodings, you must
|
|
51 set the environment variable CSWIDTH, as described below:
|
|
52
|
|
53 .br
|
|
54 .br
|
|
55 CSWIDTH=b1[:c1][,b2[:c2][,b3[:c3]]]
|
|
56 .br
|
|
57 .br
|
|
58 "b1-b3" are the number of bytes of the code-sets (except SS2 and SS3).
|
|
59 .br
|
|
60 "c1-c3" are the number of columns of the code-sets.
|
|
61 .br
|
|
62 "b1" and "c1" are for code-set 1.
|
|
63 .br
|
|
64 "b2" and "c2" are for code-set 2.
|
|
65 .br
|
|
66 "b3" and "c3" are for code-set 3.
|
|
67 .br
|
|
68
|
|
69 The value of CSWIDTH for UJIS is 2,1,2.
|
|
70
|
|
71 "\fB\-s\fR" specifies the amount of memory to be allocated. This only
|
|
72 needs to be set if atod exits with an error-message saying that it
|
|
73 does not have enough memory. In that case rerun it with more
|
|
74 memory.
|
|
75
|
|
76 atod accepts the following options:
|
|
77 .TP 8
|
|
78 \fB\-s\fR \fIno_of_entries\fR
|
|
79 This should be a number slightly larger than the number of entries in
|
|
80 the dictionary. The default is 70000.
|
|
81 .TP 8
|
|
82 \fB\-R\fR
|
|
83 Convert the dictionary into a reversible format. (default)
|
|
84 .TP 8
|
|
85 \fB\-S\fR
|
|
86 Convert the dictionary into a fixed format.
|
|
87 .TP 8
|
|
88 \fB\-U\fR
|
|
89 Convert the dictionary into an updatable format.
|
|
90 .TP 8
|
|
91 \fB\-r\fR
|
|
92 Reverse the pronunciation and kanji in the EUC dictionary.
|
|
93 .TP 8
|
|
94 \fB\-P\fR \fIpassword_fileq \fR
|
|
95 Specify the password file for the dictionary.
|
|
96 .TP 8
|
|
97 \fB\-p\fR \fIfrequency_password_file\fR
|
|
98 Specify the password file for the frequency file.
|
|
99 .TP 8
|
|
100 \fB\-N\fR
|
|
101 Set the password of the dictionary to "*".
|
|
102 .TP 8
|
|
103 \fB\-n\fR
|
|
104 Set the password of the frequency file to "*".
|
|
105 .SH FILES
|
|
106 .HP 0
|
|
107 .IP
|
|
108 atod is not normally installed into /usr/local/bin or /usr/bin.
|
|
109 Instead it can be found at:
|
|
110 .br
|
|
111 .PD 0
|
|
112 .B /usr/local/bin/Wnn4/atod (default)
|
|
113 .PD
|
|
114 .SH "SEE ALSO"
|
|
115 .sv 1\fR
|
|
116 .nf
|
|
117 jserverrc(4)
|