1RKDELETEDIC(3) Library Functions Manual RKDELETEDIC(3)
2
3
4
6 RkDeleteDic - delete specified candidates from a dictionary
7
9 #include <canna/RK.h>
10 int RkDeleteDic(cxnum, dicname, wordrec)
11 int cxnum;
12 char *dicname;
13 char *wordrec;
14
16 RkDeleteDic deletes specified candidates from the dictionary named by
17 dicname. Specify the word to delete 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
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 RKDELETEDIC(3)