IWNN_ANALYZE_OPTION Structure

Description

The analyze option structure specifies operating parameters to use during analysis and conversion.

Structure Configuration

struct IWNN_ANALYZE_OPTION {
     u16 mode;                                     // Parsing limit
     u16 forecastLearnLimit;                      // Maximum number of prediction candidates that can be obtained in the learning dictionary
     u16 forecastLimit;                           // Maximum number of prediction candidates that can be obtained
     u8 charMin;                                  // Minimum number of reading characters
     u8 charMax;                                  // Maximum number of reading characters
}

Structure Members

u16 mode Parsing limit (bit specification)
NJ_NO_LEARN: No prediction results in learning dictionary
NJ_NO_PREDICTION: No prediction results in prediction dictionary
NJ_NO_MULTI_CONVERSION: No consecutive-clause conversion results
NJ_NO_SINGLE_CONVERSION: No phrase-level conversion results
NJ_NO_ALL_CANDIDATE: No all candidate results
NJ_NO_READING_ON: Enable no reading prediction filter search
NJ_RELATION_ON: Enable derived prediction filter search
NJ_NO_CLEAR_LEARN_CACHE: Do not clear the cache region for the learning dictionary
Recommended values: (NJ_NO_MULTI_CONVERSION|NJ_NO_SINGLE_CONVERSION|NJ_RELATION_ON|NJ_NO_READING_ON)
u16 forecastLearnLimit Maximum number of predictions obtained from the learning dictionary.
This parameter limits the number of items obtained through forward match prediction parsing and no reading parsing.
This parameter is ignored if NULL is specified for the string to be parsed (reading).
This parameter is ignored if NJ_NO_LEARN is specified for the parsing limit (mode).
Minimum value 0, maximum value 100, recommended value: 20+ (depends on the candidate window size)
u16 forecastLimit Maximum number of forecasts that can be obtained from the prediction dictionary.
This parameter limits the number of items obtained from a learning dictionary, standard prediction dictionary, compressed custom dictionary, or uncompressed custom dictionary when using forward match parsing and no reading parsing.
This parameter is ignored if NULL is specified for the string to be parsed (reading).
Minimum value 0, maximum value 100 (recommended value: 100)
Be sure to specify a value equal to or greater than forecastLearnLimit and less than or equal to the maximum number of obtainable all candidates (NJ_MAX_CANDIDATE).
u8 charMin Minimum number of reading characters.
Specifies the minimum number of reading characters for words output from prediction analysis.
Specify an appropriate number of characters with this parameter. Minimum value 0, maximum value NJ_MAX_LEN (default 0)
u8 charMax Maximum number of reading characters.
Specifies the maximum reading string length for words output from prediction analysis.
Specify an appropriate number of characters with this parameter. Minimum value 0, maximum value NJ_MAX_LEN (default NJ_MAX_LEN)

Parsing Limits

Specifying a value for this setting allows you to specify how many candidates can be obtained by this function.
If multiple settings are made, specify the logical sum (OR) of each value. If prediction candidates for the same reading string are to be obtained, always specify the same parsing limit.
Type Description
NJ_NO_LEARN No prediction results inside the learning dictionary.
Prediction results are not obtained from the learning dictionary.
NJ_NO_PREDICTION No prediction results from the prediction library.
Prediction results are not obtained from the standard prediction dictionary, compressed customized dictionary, or uncompressed customized dictionary.
NJ_NO_MULTI_CONVERSION No consecutive-clause conversion.
Consecutive-clause conversion results are not obtained.
In addition, results are not obtained when retrieval of results is being suppressed by an option setting even if this constant is not specified.
NJ_NO_SINGLE_CONVERSION No phrase-level conversion results.
Phrase-level conversion results are not obtained.
NJ_NO_ALL_CANDIDATE No all candidate results obtained.
All candidate results are not obtained.
NJ_NO_READING_ON Enable no reading prediction filter search.
Specify this parameter when prediction results from the no reading prediction dictionary are included in reading-specified prediction results.
NJ_RELATION_ON Enable derived prediction filter search.
Set this value when derived prediction results from the integrated library are included in reading-specified prediction results.
NJ_NO_CLEAR_LEARN_CACHE Suppress clearing of the learning dictionary cache.
Specify this value when suppressing clearing of the learning dictionary cache used for fuzzy searches.

If the string to be parsed is long, set the parsing limit according to the string length to be parsed because it takes a long time to create candidates for consecutive-clause and phrase-level conversion.

CONFIDENTIAL