IWNN_RESULT Structure

Description

The processing result structure stores processing results when dictionary lookup, conversion, or prediction using iWnn has been requested. Do not directly access or modify information stored inside this structure.
Processed reading-string results are obtained using the NjxGetStroke function. Processed candidate-string results are obtained using the NjxGetCandidate function. The dictionary from which to retrieve these results is obtained using the NjxGetDicHandle function.

Structure Configuration

struct IWNN_RESULT {
     u16 operationId;                             // Operation information
     struct IWNN_WORD word;                       // Member used for internal processing
};

Structure Members

u16
operationId
Operation information.
Stores information regarding operation, function, word information, and dictionary type every four bits.
struct IWNN_WORD word Variable for internal processing.
This variable cannot be accessed outside of this API.

Operation Information

Operation NJ_OPERATION_SEARCH Dictionary lookup process result
NJ_OPERATION_CONVERT Conversion process result
NJ_OPERATION_ANALYZE Evaluation (prediction) process result
NJ_OPERATION_MORPHOLIZE Morphological analysis process result
NJ_OPERATION_ENVIRONMENT Common process result
Feature NJ_FUNC_SEARCH
NJ_FUNC_RELATION
Dictionary Lookup Feature
NJ_FUNC_SEARCH_REVERSE Dictionary lookup function (reverse)
NJ_FUNC_CONVERT_MULTIPLE Consecutive-clause (multiple phrase) conversion function
NJ_FUNC_CONVERT_SINGLE Consecutive-clause (phrase-level) conversion function
NJ_FUNC_ALL_CANDIDATES Phrase-level conversion (all candidates) function
NJ_FUNC_NEXT No reading prediction function
NJ_FUNC_SPLIT_WORD Delimited input function
Word information The high-order bit (NJ_TYPE_PSEUDO_BIT) is the pseudo candidate bit. If this bit is on, it indicates a pseudo candidate.
Dictionary Type NJ_DIC_PSEUDO iWnn system generation (no target dictionary)
NJ_DIC_CUSTOMIZE Customized Dictionary
NJ_DIC_LEARN Learning dictionary
NJ_DIC_USER User dictionary
NJ_DIC_STATIC Standard dictionary other than the above
NJ_DIC_PROGRAM Pseudo-dictionary

CONFIDENTIAL