DICLIBINTRO(3)
π NAME π
okay so bestie, this is DICLib_intro β dictionary access library introduction. We're in the Library Functions Manual, and the page is DICLIBINTRO(3). It's giving "the whole dictionary access library intro, no cap." π
πΈ DESCRIPTION πΈ
The dictionary access library provides basic functions for kana-kanji conversion. ngl, the following files are prerequisite to using the dictionary access library:
- Header file
canna/RK.hβ An include file with data and function declarations for the kana-kanji conversion library. Include it when you compile.
- Libraries
libcanna.a,libcanna.soβ Kana-kanji conversion libraries. At link time, specify"-lcanna".
β¨ SUMMARY β¨
okay so the dictionary access library provides three major categories of functions, periodt:
- β¨ Code conversion functions Converts character string codes between double-width and single-width characters, and between hiragana and katakana. No external data or initialization procedures needed.
- β¨ Romaji-kana conversion functions Converts Romaji into kana using a Romaji-kana conversion table that maps Romaji to kana. You can change the rules of Romaji-kana conversion by editing this table.
- β¨ Kana-kanji conversion functions Converts kana into kanji through continuous clause conversion using a kana-kanji conversion dictionary that maps readings to words. You can tailor kana-kanji conversion for specific apps by modifying this dictionary.
Among all the functions for Japanese input processing, this library only does data conversion. So to actually type Japanese from a keyboard, users have to write a keyboard handling routine inside the application program.
π Code conversion functions π
Rk(w)CvtZenβ Takes ASCII characters plus single-width katakana and turns them into double-width characters.RkCvtHanβ Turns double-width symbols, alphanumeric characters, hiragana, and katakana into single-width characters.RkCvtKanaβ Turns double-width hiragana into double-width katakana.RkCvtHiraβ Turns double-width katakana into double-width hiragana.RkCvtEucβ Turns shift JIS code into EUC code.
π¦ Romaji-kana conversion functions π¦
RkOpenRomaβ Opens the dictionary you're gonna use for Romaji-kana conversion.RkCloseRomaβ Closes the dictionary that was used for Romaji-kana conversion.RkMapRomaβ Does Romaji-kana conversion using a Romaji-kana conversion dictionary you specify.RkCvtRomaβ Converts a whole character string from Romaji to kana by looping throughRkMapRoma.
π Kana-kanji conversion functions π
RkInitializeβ Initializes the kana-kanji conversion functions.RkFinalizeβ Terminates the kana-kanji conversion functions.RkCreateContextβ Creates a brand-new conversion context.RkDuplicateContextβ Creates a context that has the same conversion environment as a context you specify.RkCloseContextβ Closes a conversion context you specify.RkGetDicListβ Gets the names of dictionaries that can be added to the dictionary list.RkMountDicβ Mounts a dictionary in the dictionary list.RkGetMountListβ Gets the names of the dictionaries currently mounted. (or characters forRkwResize)RkUnmountDicβ Unmounts a specified dictionary from the dictionary list.RkRemountDicβ Changes the priority order of a dictionary that's already in the dictionary list.RkBgnBunβ Converts the reading of a specified length into kanji.RkEndBunβ Ends kana-kanji conversion.RkGoToβ Makes the clause with a specified clause number the current clause.RkLeftβ Moves the current clause to the clause on its left.RkRightβ Moves the current clause to its right.RkXferβ Makes the candidate with a specified candidate number the current candidate.RkNextβ Makes the next candidate the current candidate.RkPrevβ Makes the previous candidate the current candidate.RkNferβ Makes a reading itself the current candidate.RkResizeβ Changes the reading length of the current clause tolenbytes.RkEnlargeβ Makes the reading of the current clause bigger.RkShortenβ Makes the reading of the current clause smaller.RkStoreYomiβ Changes the reading of the current clause to a reading you specify, then reconverts the clauses after it.RkGetYomiβ Gets the reading of the current clause.RkGetKanjiβ Gets the current candidate for the current clause.RkGetKanjiListβ Gets every kanji candidate for the current clause.RkGetStatβ Gets analysis info about the current candidate.RkGetLexβ Gets morphemic info on every word that makes up the current candidate.RkDefineDicβ Defines a specified candidate in a dictionary.RkDeleteDicβ Deletes a specified candidate from a dictionary.
And that's the footer vibe: DICLIBINTRO(3). The original footer didn't give us a source/version or date line, so that's literally all the footer had, bestie. byeee πβ¨
π¦ 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