1RKDEFINEDIC(3)             Library Functions Manual             RKDEFINEDIC(3)
2
3
4

NAME

6       RkDefineDic - define specified candidates in the dictionary
7

SYNOPSIS

9       #include <canna/RK.h>
10       int RkDefineDic(cxnum, dicname, wordrec)
11       int cxnum;
12       char *dicname;
13       char *wordrec;
14

DESCRIPTION

16       RkDefineDic  defines  specified  candidates  in the dictionary named by
17       dicname.  Specify the word to add  in  the  character  string  wordrec,
18       which is written in the format:
19
20              reading   part-of-speech information   kanji candidate
21
22       Writing wordrec, for example, as
23
24              (HIRAGANA)     #T35     (KANJI)  ...
25
26       will  specify  a  candidate whose part of speech #T35 is defined by the
27       reading "(HIRAGANA)" and whose spelling matches "(KANJI)".
28

RETURN VALUE

30       This function returns 0 if successful; otherwise  it  returns  -1.   It
31       also  returns  -1, without doing anything, if it has been run in a con‐
32       version mode context.
33
34
35
36                                                                RKDEFINEDIC(3)
Impressum