NjxSetOption Function

Description

This function sets iWnn operating parameters.
Do not establish settings during prediction, kana-kanji conversion, or morphological analysis.
For details on available options, see Section 8.8, Option Settings (IWNN_OPTION).

Syntax

#include <mw/iwnn/iwnnCTR.h>

s16 NjxSetOption(
     IWNN_CLASS* iwnn,                            // Parsing information class
     const IWNN_OPTION* option                    // Option setting
);

Arguments

NameDescription
IN IWNN_CLASS* iwnn Parsing information class
An error results if NULL is specified.
IN const IWNN_OPTION* option Option setting.
Stores settings specified for the parsing information class.
The default value is set for the parsing information class if NULL is specified. Note: Option setting (default value)
The number of candidates for which to automatically start consecutive-clause conversion: NJ_MAX_CANDIDATE.

Return Value

s16 Negative value: Error; otherwise normal exit

Error Code Description of Error
NJ_ERR_PARAM_ENVIRONMENT_NULL A NULL pointer was specified for iwnn

CONFIDENTIAL