RkDefineDic(3)

RkDefineDic3

Define specified candidates in the dictionary

Usage

#include <canna/RK.h>
int RkDefineDic(cxnum, dicname, wordrec)
int cxnum;
char *dicname;
char *wordrec;

Overview

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)".

Return value

This function returns 0 if successful; otherwise it returns -1. It also returns -1, without doing anything, if it has been run in a conversion mode context.

Releases

15 releases since Debian 2.0 (Hamm); the text changed 1 time.

  1. 2.0–3.0
  2. 3.1–13

From libcanna1g-dev 3.7p3-25 in Debian 13 (Trixie). Parsed by carta from the page's man source.