1MKDIC(1) General Commands Manual MKDIC(1)
2
3
4
6 mkdic - Tool for creating a user dictionary
7
9 mkdic [{-cs|-cannaserver} canna-server] [-s] [- | -l local-file]
10 remote-dic
11
13 mkdic creates user dictionary named remote-dic in the user dictionary
14 directory of the remote host, on which cannaserver(1M) is in operation.
15 Dictionary file name remote-dic is assigned to this file at this time.
16
17 If the - and -l option isn't specified, mkdic creates an empty dictio‐
18 nary.
19
20 If the - option is specified, the standard input will be used as the
21 dictionary file. If the -l option is specified, local-file will be used
22 as the dictionary file.
23
24 If the user dictionary directory does not exist, it will be created.
25
26 Dictionary directory file — dics.dir — is rewritten automatically after
27 the registering. The registered dictionary can thus be used by writing
28 the dictionary name into the customize file.
29
31 -cs canna-server (or -cannaserver canna-server)
32 Specifies the server machine that contains the dictionary
33 to be created.
34
35 -s Indicates that the dictionary to be created is an adjunct
36 dictionary. If this option is omitted, the dictionary will
37 be created as an independent-word one.
38
39 -l local-file
40 Registers the input data from local-file.
41
42 - The standard input will be used as the dictionary file.
43
45 (1) If you want to creat an empty dictionary file:
46
47 % mkdic test
48
49 (2) If you want to register the input data from the standard input:
50
51 % mkdic test -
52
53 Registers the input data from the standard input, in the user dictio‐
54 nary directory under dictionary name ``test''. The following line is
55 then added to dictionary directory file — dics.dir — :
56
57 user1.t(.mwd) -test-
58
59
60 (3) If the dictionary file is specified:
61
62 % mkdic test -l test1.t
63
64
65 Registers independent-word dictionary file ``test1.t'' in the remote
66 host's user dictionary directory under dictionary name ``test''. The
67 following line is then added to dics.dir:
68
69 user1.t(.mvd) -test-
70
71
72 user1.t is a dictionary file name generated automatically by the sys‐
73 tem.
74
76 catdic(1), cannaserver(1M), lsdic(1)
77
78
79
80 MKDIC(1)