Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

RkGetLex - get morphemic information on each word that makes up the current candidate

Description

RkGetLex  gets  morphemic  information on each word that makes up the current candidate, and stores it in
       the array lex in sequence from the left.  Right-side word information is truncated  when  the  number  of
       words exceeds maxlex.

       The fields of the structure lex are loaded with the following:

              ylen        Byte length of the reading of a word

              klen        Byte length of the kanji of the word

              rownum      Row number of the word

              coldnum     Column number of the word

              dicnum      Not used

Name

RkGetLex - get morphemic information on each word that makes up the current candidate

Return Value

       This function returns -1, without doing anything, if it has been run in a nonconversion mode context.

                                                                                                     RKGETLEX(3)

Synopsis

#include<canna/RK.h>intRkGetLex(cxnum,lex,maxlex)intcxnum;RkLex*lex;intmaxlex;

See Also