Mercurial > freewnn
comparison cWnn/man/6.jutil/catod.man @ 0:bbc77ca4def5
initial import
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Thu, 13 Dec 2007 04:30:14 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:bbc77ca4def5 |
---|---|
1 .\" | |
2 .\" $Id: catod.man,v 1.3 2001/06/14 18:08:35 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 | |
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 CATOD \ "13 May 1992" | |
31 .SH NAME | |
32 catod \- To convert the text format of a dictionary to binary | |
33 format. | |
34 .SH SYNOPSIS | |
35 catod [-s | |
36 .I maxword | |
37 ] [-R] [-r] [-e] [-S] [-U] | |
38 [-P | |
39 .I dicpasswd | |
40 ] [-p | |
41 .I frepasswd | |
42 ] | |
43 [-h | |
44 .I cixingfile | |
45 ] | |
46 .I outfilename | |
47 .SH DEFAULT PATH | |
48 /usr/local/bin/cWnn4/catod | |
49 .ad | |
50 .SH DESCRIPTION | |
51 This command converts a dictionary from text format into | |
52 binary format. | |
53 | |
54 .I outfilename | |
55 is the name of the binary format dictionary. | |
56 If | |
57 .I outfilename | |
58 is not given, the output will be passed | |
59 to the standard output device(stdout). | |
60 | |
61 The input file may be piped in by using the "<" command. | |
62 For example, | |
63 .sp 0 | |
64 catod basic.dic < basic.u | |
65 .sp 0 | |
66 "basic.dic" here is the output binary format dictionary, | |
67 while the "basic.u" is the input text format dictionary. | |
68 | |
69 If the input text dictionary is not given, the input will | |
70 be taken from the standard input(stdin). | |
71 To end the input via standard input, press ^D. | |
72 .SH OPTIONS | |
73 .IP -s | |
74 .I maxword | |
75 .sp 0 | |
76 To specify the maximum number of words. Default is 70000. | |
77 .IP -R | |
78 To create a dictionary for both forward and reverse conversion. (Default). | |
79 .IP -r | |
80 To create a reverse format dictionary only for reverse conversion. | |
81 .IP -e | |
82 If the Hanzi inside the text dictionary contains characters such as space | |
83 and tab, they will be compacted to special format. (Default). | |
84 .IP -S | |
85 To create a static dictionary. | |
86 .IP -U | |
87 To create a dynamic dictionary. | |
88 .IP -P | |
89 .I dicpasswd | |
90 .sp 0 | |
91 To specify the password for the dictionary. | |
92 .sp 0 | |
93 If "-N" is used instead, the password of the dictionary will be set to "*". | |
94 .IP -p | |
95 .I frepasswd | |
96 .sp 0 | |
97 To specify the password for the usage frequency file. | |
98 .sp 0 | |
99 If "-n" is used instead, the password of the frequency file will be set to "*". | |
100 .IP -h | |
101 .I cixingfile | |
102 .sp 0 | |
103 To specify the Cixing definition file. | |
104 .SH NOTE | |
105 .IP 1. | |
106 The parts in [ ] are options. They may be omitted. | |
107 .IP 2. | |
108 The Pinyin and Zhuyin dictionary has the same format. | |
109 .IP 3. | |
110 For details of the dictionary structure, refer to cWnn manual. |