IWNN_OPTION Structure

Description

iWnn operating parameters are specified in the option settings structure.

Structure Configuration

struct IWNN_OPTION {
     u16 autoConversionCnt;                       // Number of candidates for which to automatically start consecutive-clause conversion
     u16 extensionMode;                           // API operation mode setting
     void* phase2Filter;                          // Candidate filter function pointer
     void* phase2Option;                          // Candidate filter function option
     void* phase1Filter;                          // Dictionary lookup filter function pointer
     void* phase1Option;                          // Dictionary lookup filter function option
};

Structure Members

u16 autoConversionCnt Number of candidates for which to automatically start consecutive-clause conversion.
The result of consecutive-clause conversion is added if the number of prediction candidates that can be obtained by the function for getting prediction candidates is less than or equal to this setting value.
The default is NJ_MAX_CANDIDATE.
u16 extensionMode API operating mode setting
Sets the OR of processing methods for the API.
NJ_ADD_WORD_OPTIMIZE_OFF:
  Disables optimized processing of the learning dictionary when using the function for adding words. (See Section 15.3, FAQ Regarding the Processing Method. ).
IWNN_OPTION_FORECAST_TOP_FREQUENCY:
  Allows you to get forward match candidates in order of frequency when using the function for getting prediction candidates. (See Section 15.3, FAQ Regarding the Processing Method.)
void* phase2Filter Candidate filter function pointer.
Specifies a pointer to the function that performs filtering of consecutive-clause candidates generated by the conversion process.
If NULL is specified, candidates are not filtered. The default is NULL.
void* phase2Option Candidate filter function option.
Used to set options for the candidate filter function.
Data to be set is defined separately for each filter function.
void* phase1Filter Dictionary lookup filter function pointer.
Specifies a pointer to the function that performs filtering of matching words found when searching the dictionary.
If NULL was specified, dictionary lookup filtering is not executed. The default is NULL.
void* phase1Option Dictionary lookup filter function option.
Used to set options for the dictionary lookup filter function.
Data to be set is defined separately for each filter function.

For details on filtering, see Chapter 12, Candidate/Dictionary Lookup Filtering.

CONFIDENTIAL