Poster of Linux kernelThe best gift for a Linux geek
RKDEFINEDIC

RKDEFINEDIC

Section: C Library Functions (3)
Local index Up
 

NAME

RkDefineDic - define specified candidates in the dictionary  

SYNOPSIS

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

DESCRIPTION

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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE

This document was created by man2html, using the manual pages.
Time: 21:54:07 GMT, April 16, 2011