Scroll to navigation

RKGETSTAT(3) Library Functions Manual RKGETSTAT(3)

NAME

RkGetStat - get analysis information about the current candidate

SYNOPSIS

#include <canna/RK.h>
int RkGetStat(cxnum, stat)
int cxnum;
Rkstat *stat;

DESCRIPTION

RkGetStat gets analysis information about the current candidate. The fields of the structure stat are loaded with the following:

Current clause number
Current candidate number
Number of candidates for the current clause
maxcand less the mode specification of RkBgnBun(3)
Byte length of the reading of the current candidate
Byte length of the kanji of the current candidate
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.