Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkdic(1) [debian man page]

MKDIC(1)						      General Commands Manual							  MKDIC(1)

NAME
mkdic - Tool for creating a user dictionary SYNOPSIS
mkdic [{-cs|-cannaserver} canna-server] [-s] [- | -l local-file] remote-dic DESCRIPTION
mkdic creates user dictionary named remote-dic in the user dictionary directory of the remote host, on which cannaserver(1M) is in opera- tion. Dictionary file name remote-dic is assigned to this file at this time. If the - and -l option isn't specified, mkdic creates an empty dictionary. If the - option is specified, the standard input will be used as the dictionary file. If the -l option is specified, local-file will be used as the dictionary file. If the user dictionary directory does not exist, it will be created. Dictionary directory file -- dics.dir -- is rewritten automatically after the registering. The registered dictionary can thus be used by writing the dictionary name into the customize file. OPTIONS
-cs canna-server (or -cannaserver canna-server) Specifies the server machine that contains the dictionary to be created. -s Indicates that the dictionary to be created is an adjunct dictionary. If this option is omitted, the dictionary will be cre- ated as an independent-word one. -l local-file Registers the input data from local-file. - The standard input will be used as the dictionary file. EXAMPLES(1) If you want to creat an empty dictionary file: % mkdic test(2) If you want to register the input data from the standard input: % mkdic test - Registers the input data from the standard input, in the user dictionary directory under dictionary name ``test''. The following line is then added to dictionary directory file -- dics.dir -- : user1.t(.mwd) -test-(3) If the dictionary file is specified: % mkdic test -l test1.t Registers independent-word dictionary file ``test1.t'' in the remote host's user dictionary directory under dictionary name ``test''. The following line is then added to dics.dir: user1.t(.mvd) -test- user1.t is a dictionary file name generated automatically by the system. SEE ALSO
catdic(1), cannaserver(1M), lsdic(1) MKDIC(1)

Check Out this Related Man Page

CWDREG(1)						      General Commands Manual							 CWDREG(1)

NAME
cwdreg - To register characters/words into the binary format dictionary. SYNOPSIS
cwdreg [-D server ] -n envname -d dicno < textdic OR cwdreg [-D server ] -n envname -L filename < textdic DEFAULT PATH
/usr/local/bin/cWnn4/cwdreg DESCRIPTION
This function allows user to register characters/words into the specified binary dictionary, with either dictionary number dicno or dictio- nary filename filename specified. server is the machine name of the server. If this is not specified, the default cserver indicated by the environment variable CSERVER will be taken. "-n envname " must be specified. envname is the environment name. You may execute "cwnnstat -E" to see the current environment name. Either "-d dicno " or "-L filename " must be specified. dicno is the dictionary number. filename is the filename of the dictionary. "-L" is used for when the dictionary is from the local machine. "<" means to pipe the textdic as an input to "cwdreg" command. textdic is the text file which user enters the characters/words to be registered. The format of this text file must be the same as that in the system text format dictionary. That is, -------------------------------------------------- | Pinyin Word Cixing Frequency | | : : : : | -------------------------------------------------- Refer to cWnn manual for details on dictionary. By using "cwdreg", all the characters/words in textdic will be registered into the specified binary dictionary permanently. NOTE
1. The parts in [ ] are options. They may be omitted. 13 May 1992 CWDREG(1)
Man Page