0
|
1 .\"
|
|
2 .\" $Id: cdtoa.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 CDTOA \ "13 May 1992"
|
|
31 .SH NAME
|
|
32 cdtoa \- To convert the binary format of a dictionary back to
|
|
33 text format.
|
|
34 .SH SYNOPSIS
|
|
35 cdtoa [-n] [-s] [-z] [-e] [-E]
|
|
36 .I infilename
|
|
37 [-h
|
|
38 .I cixingfile
|
|
39 ] [
|
|
40 .I usagefreqfile
|
|
41 ]
|
|
42 .SH DEFAULT PATH
|
|
43 /usr/local/bin/cWnn4/cdtoa
|
|
44 .ad
|
|
45 .SH DESCRIPTION
|
|
46 To convert the binary format of the dictionary to text
|
|
47 .sp 0
|
|
48 format, and output to standard output(stdout).
|
|
49
|
|
50 .I infilename
|
|
51 is the name of the input binary format
|
|
52 .sp 0
|
|
53 dictionary.
|
|
54
|
|
55 The output may be piped into a file by using the ">"
|
|
56 .sp 0
|
|
57 command. For example,
|
|
58 .sp 0
|
|
59 cdtoa dict.dic > dict.u
|
|
60 .sp 0
|
|
61 "dict.u" here is the output text format dictionary, while the "dict.dic"
|
|
62 is the input binary format dictionary.
|
|
63
|
|
64 .I usagefreqfile
|
|
65 may indicate more than one user usage
|
|
66 frequency files (for a particular user). These usage frequency information
|
|
67 will be reflected in the text format dictionary created.
|
|
68 .SH OPTIONS
|
|
69 .IP -s
|
|
70 To order the entries in text dictionary according to Pinyin or Zhuyin.
|
|
71 .IP -n
|
|
72 To attach sequence numbers to the output.
|
|
73 .IP -z
|
|
74 To convert the binary format back to text format in Zhuyin.
|
|
75 .sp 0
|
|
76 (Note: default is Pinyin)
|
|
77 .IP -e
|
|
78 If the Hanzi inside the text dictionary contains characters such as space
|
|
79 and tab, they will be compacted to special format. (Default)
|
|
80 .IP -E
|
|
81 If the Hanzi inside the text dictionary contains characters such as space
|
|
82 and tab, they will NOT be compacted to special format.
|
|
83 .IP -h
|
|
84 .I cixingfile
|
|
85 .sp 0
|
|
86 To specify the Cixing definition file.
|
|
87 .SH NOTE
|
|
88 .IP 1.
|
|
89 The parts in [ ] are options. They may be omitted.
|
|
90 .IP 2.
|
|
91 The Pinyin and Zhuyin dictionary has the same format.
|
|
92 .IP 3.
|
|
93 The default conversion result of the text dictionary is in Pinyin.
|