1RKGETSTAT(3) Library Functions Manual RKGETSTAT(3)
2
3
4
6 RkGetStat - get analysis information about the current candidate
7
9 #include <canna/RK.h>
10 int RkGetStat(cxnum, stat)
11 int cxnum;
12 Rkstat *stat;
13
15 RkGetStat gets analysis information about the current candidate. The
16 fields of the structure stat are loaded with the following:
17
18 bunnum Current clause number
19
20 candnum Current candidate number
21
22 maxcand Number of candidates for the current clause
23
24 diccand maxcand less the mode specification of RkBgnBun[24m(3)
25
26 ylen Byte length of the reading of the current candidate
27
28 klen Byte length of the kanji of the current candidate
29
30 tlen Number of words making up the current candidate
31
33 This function returns 0, or returns -1, without doing anything, if it
34 has been run in a nonconversion mode context.
35
36
37
38 RKGETSTAT(3)