RKGETLEX(3)
β¨ NAME β¨
okay so bestie, this is RKGETLEX(3) from the Library Functions Manual, and it's all about RkGetLex β the function that gets morphemic information on each word that makes up the current candidate. no cap, that's the whole vibe. π
β¨ SYNOPSIS β¨
#include <canna/RK.h>
int RkGetLex(cxnum, lex, maxlex)
int cxnum;
RkLex *lex;
int maxlex;
β¨ DESCRIPTION β¨
So 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. It's giving organized bestie energy β¨. Right-side word information is truncated when the number of words exceeds maxlex. Like, if there's too much word info, the right side gets cut off β not me being dramatic, that's just what it does π.
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, bestie, it's just there chilling π
β¨ RETURN VALUE β¨
This function returns -1, without doing anything, if it has been run in a nonconversion mode context. So yeah, nonconversion mode? It's not doing a single thing, just handing you -1 and walking away π.
bestie, that's not a bug, that's literally the documented return. periodt. π
k bye bestie! this is from the Library Functions Manual, page RKGETLEX(3), and the footer doesn't give a date, so we're keeping it timeless ππ¦β¨
π¦ where this page comes from
- debian bookworm: libcanna1g-dev 3.7p3-20 Β· ISC
- debian trixie: libcanna1g-dev 3.7p3-25 Β· ISC
- ubuntu jammy: libcanna1g-dev 3.7p3-17 Β· ISC
- ubuntu noble: libcanna1g-dev 3.7p3-20 Β· ISC
- ubuntu questing: libcanna1g-dev 3.7p3-26
- ubuntu resolute: libcanna1g-dev 3.7p3-26build1 Β· ISC
- ubuntu stonking: libcanna1g-dev 3.7p3-29 Β· ISC
- Copyright 1994 NEC Corporation, Tokyo, Japan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms