DragonFly On-Line Manual Pages

Search: Section:  

RKDEFINEDIC(3)        DragonFly Library Functions Manual        RKDEFINEDIC(3)


RRkkDDeeffiinneeDDiicc - define specified candidates in the dictionary


##iinncclluuddee <<ccaannnnaa//RRKK..hh>> iinntt RRkkDDeeffiinneeDDiicc((ccxxnnuumm,, ddiiccnnaammee,, wwoorrddrreecc)) iinntt ccxxnnuumm;; cchhaarr **ddiiccnnaammee;; cchhaarr **wwoorrddrreecc;;


RkDefineDic defines specified candidates in the dictionary named by dicname. Specify the word to add in the character string wordrec, which is written in the format: reading part-of-speech information kanji candidate Writing wordrec, for example, as (HIRAGANA) #T35 (KANJI) ... will specify a candidate whose part of speech #T35 is defined by the reading "(HIRAGANA)" and whose spelling matches "(KANJI)".


This function returns 00 if successful; otherwise it returns --11. It also returns --11, without doing anything, if it has been run in a conversion mode context. RKDEFINEDIC(3)

Search: Section: