1RKGETLEX(3) Library Functions Manual RKGETLEX(3)
2
3
4
6 RkGetLex - get morphemic information on each word that makes up the
7 current candidate
8
10 #include <canna/RK.h>
11 int RkGetLex(cxnum, lex, maxlex)
12 int cxnum;
13 RkLex *lex;
14 int maxlex;
15
17 RkGetLex gets morphemic information on each word that makes up the cur‐
18 rent candidate, and stores it in the array lex in sequence from the
19 left. Right-side word information is truncated when the number of
20 words exceeds maxlex.
21
22 The fields of the structure lex are loaded with the following:
23
24 ylen Byte length of the reading of a word
25
26 klen Byte length of the kanji of the word
27
28 rownum Row number of the word
29
30 coldnum Column number of the word
31
32 dicnum Not used
33
35 This function returns -1, without doing anything, if it has been run in
36 a nonconversion mode context.
37
38
39
40 RKGETLEX(3)