RkGetStat3
Get analysis information about the current candidate
Usage
#include <canna/RK.h> int RkGetStat(cxnum, stat) int cxnum; Rkstat *stat;
Overview
RkGetStat gets analysis information about the current candidate. The fields of the structure stat are loaded with the following:
bunnum
|
Current clause number |
|---|---|
candnum
|
Current candidate number |
maxcand
|
Number of candidates for the current clause |
diccand
|
maxcand less the mode specification of RkBgnBun(3) |
ylen
|
Byte length of the reading of the current candidate |
klen
|
Byte length of the kanji of the current candidate |
tlen
|
Number of words making up the current candidate |
Return value
This function returns 0, or returns -1, without doing anything, if it has been run in a nonconversion mode context.
Releases
15 releases since Debian 2.0 (Hamm); the text changed 1 time.