NjxSetState Function

Description

This function sets operating parameters for situational prediction.
Do not establish settings during prediction, kana-kanji conversion, or morphological analysis.

Syntax

#include <mw/iwnn/iwnnCTR.h>

s16 NjxSetState(
     IWNN_CLASS* iwnn,                            // Parsing information class
     const IWNN_STATE* state                      // State setting
);

Arguments

NameDescription
IN / OUT IWNN_CLASS* iwnn Parsing information class
An error results if NULL is specified.
IN const IWNN_STATE* state State setting
Sets the default value (0) for all categories if NULL is specified.
For setting details, see Section 8.10, State Setting (IWNN_STATE).

Return Value

s16 Negative value: Error
Other: Normal exit

Error Code Description of Error
NJ_ERR_PARAM_ENVIRONMENT_NULL A NULL pointer was specified for iwnn
NJ_ERR_PARAM_INVALID_STATE An out-of-bounds value was specified for the bias value in state
<CODE>NjxSetState</CODE>

CONFIDENTIAL