Package Canna-devel

Header file and library for developing programs which use Canna.

http://www.nec.co.jp/japanese/product/computer/soft/canna/

The Canna-devel package contains the development files needed to build
programs that will use the Canna Japanese character input system.

Library Functions (Section 3)
cannalib
Kana-to-Kanji Conversion Library Intro
RkBgnBun
RkBgnBun converts the reading yomi with a length of maxyomi bytes to kanji. The reading kana must be adjusted on character boundaries in the EUC code. The...
RkCloseRoma
Romaji-kana conversion is effected by using a Romaji-kana conversion table created by mkromdic(1). RkCloseRoma closes this Romaji-kana conversion table. romaji...
RkCvtEuc
RkCvtEuc converts the srclen bytes of shift JIS code data to EUC code, starting at the area src. A null character in src is not interpreted as the end of the...
RkCvtHan
RkCvtHan converts the srclen bytes of double-width symbol, alphanumeric characters, hiragana, and katakana data to single-width characters, starting at the area...
RkCvtHira
RkCvtHira converts the srclen bytes of double-width katakana data to double-width hiragana, starting at the area src. A null character in src is not interpreted...
RkCvtKana
RkCvtKana converts the srclen bytes of double-width hiragana data to double-width katakana, starting at the area src. A null character in src is not interpreted...
RkCvtRoma
RkCvtRoma converts an entire src character string from Romaji to kana by iteratively using RkMapRoma. The parameters are similar to RkMapRoma(3), except that...
RkCvtZen
RkCvtZen converts the srclen bytes of ASCII character and single-width katakana data to double-width character, starting at the area src. A null character in...
RkDefineDic
RkDefineDic defines specified candidates in the dictionary named by dicname.
RkDeleteDic
RkDeleteDic deletes specified candidates from the dictionary named by dicname.
RkEndBun
RkEndBun releases the area that has been used for kana-kanji conversion. mode is a flag that specifies whether to enable learning on the basis of the conversion...
RkEnlarge
RkEnlarge enlarges the reading of the current clause. It does nothing when the reading exceeds a limit length.
RkFinalize
RkFinalize terminates the kana-kanji conversion functions.
RkGetDicList
RkGetDicList gets the name of a dictionary that can be added to the dictionary list. Multiple dictionaries can be simultaneously used during kana-kanji...
RkGetKanji
RkGetKanji sets kanji in the area kanji. The resulting character string is truncated when its byte length exceeds maxkanji -1.
RkGetLex
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...
RkGetStat
RkGetStat gets analysis information about the current candidate.
RkGetYomi
RkGetYomi gets the reading of the current clause and sets it in the area yomi. The resulting character string is truncated when its byte length exceeds maxyomi...
RkGoto
RkGoTo sets the clause with the specified clause number bnum as the current clause. The clause number must be 0 or greater but less than the last clause number...
RkInitialize
RkInitialize initiates the kana-kanji conversion functions. dhdpath names the dictionary home directory. Because this library permits multiple kana-kanji...
RkIntro
The dictionary access library provides basic functions for kana-kanji conversion.
RkLeft
RkLeft moves the current clause to the clause to its left, or to the last clause if the current clause is 0.
RkMapPhonogram
RkMapPhonogram performs Romaji-kana conversion by using a specified Romaji-kana conversion table. romaji specifies a pointer to the Romaji-kana conversion table...
RkMapRoma
RkMapRoma performs Romaji-kana conversion by using a specified Romaji-kana conversion table. romaji specifies a pointer to the Romaji-kana conversion table that...
RkMountDic
RkMountDic mounts a dictionary in the dictionary list. The dictionary name is got with RkGetDicList(3). RkMountDic appends the named dictionary to the...
RkNext
RkNext sets the next candidate as the current candidate or, if the current candidate is the last candidate, moves to the first candidate.
RkNfer
RkNfer sets a reading itself as the current candidate.
RkOpenRoma
Romaji-kana conversion is effected by using a Romaji-kana conversion table created by mkromdic(1). RkOpenRoma opens this Romaji-kana conversion table. filename...
RkPrev
RkPrev sets the previous candidate as the current candidate or, if the current candidate is the first candidate, moves to the last candidate.
RkRemountDic
RkRemountDic modifies the priority order of A dictionary already in the dictionary list. It moves a dictionary already mounted in the dictionary list to the end...
RkResize
RkResize changes the reading length of the current clause to len bytes and reconverts the right part of the current clause. The value of len must be adjusted to...
RkRight
RkRight moves the current clause to the clause to its right, or to the first clause if the current clause is the last statement.
RkShorten
RkShorten shortens the reading of the current clause. It does nothing when the reading length is reduced to 0.
RkStoreYomi
RkStoreYomi changes the reading of the current clause to a specified reading, reconverting the subsequent clauses. It changes the reading yomi with a length of...
RkUnmountDic
RkUnmountDic unmounts the dictionary named by dicname from the dictionary list. The dictionary thus unmounted is removed from the next run of kana-kanji...
RkXfer
RkXfer sets the candidate with a specified candidate number knum as the current candidate. The candidate number must be 0 or greater but less than the highest...
uilib
User interface libraries are responding to one-chracter or one-key input, return various kinds of information. They include the unfixed character string, fixed...