Standard Extension Module

Description

iWnn provides core capabilities independent of the use environment (language being used, hardware installed on, and so on) and is designed so that extensions can be added to handle processes dependent on the environment.
Environmentally dependent functions required by the standard text entry system are provided in the form of standard extension modules.
List of Standard Extension Modules
Standard pseudo-dictionary module (NjexPseudoDic)
Standard prediction filter search dictionary (NjexPredictionPseudoDic)
Mixed numeric character conversion dictionary module (NjexNumericCharPseudoDic)
Numeric character connection forecast dictionary module (NjexNumericForecastPseudoDic)

Standard Pseudo-Dictionary Module (NjexPseudoDic)

Dictionary Overview

This is a pseudo-dictionary for generating standard pseudo-candidates.
The standard pseudo-candidate dictionary generates candidates in a way not possible with typical, static dictionaries.
If Japanese conversion and prediction are being performed, always set this dictionary in the dictionary set structure.
External functions are defined in iwnnCTR.h.

The following types of pseudo-candidates can be included in the standard pseudo-candidate dictionary.
Pseudo-Candidate Types Description
NJ_TYPE_HIRAGANA Candidates with notation the same as reading
e.g.) (あいうえお)->(あいうえお)
NJ_TYPE_KATAKANA Full-width katakana candidates
e.g.) (あいうえお)->(アイウエオ)
NJ_TYPE_HALF_KATAKANA Half-width kana candidates
e.g.) (あいうえお)->(アイウエオ)
This definition is not needed with hardware that does allow the input of half-space kana.
NJ_TYPE_FULL_KANJI_NUMERIC_GRADE_READING Numeric kanji candidates based on kana readings
e.g.) (いちまんごせん)->(一万五千)
NJ_TYPE_FULL_NUMERIC_READING Full-space Arabic numeral candidates based on kana reading
e.g.) (いちまんごせん)->(15000)
NJ_TYPE_HALF_NUMERIC_READING Half-space Arabic numeral candidates based on kana reading
e.g.) (いちまんごせん)->(15000)
NJ_TYPE_FULL_KANJI_NUMERIC_READING Numeric kanji candidates based on kana reading (Uses 〇s)
e.g.) (いちまんごせん)→(一五〇〇〇)

Specify whether to use each pseudo-candidate and the priority settings in the IWNN_PSEUDO_SET structure.
The pseudo-dictionary work area for the standard pseudo-candidate dictionary module is specified in the dictionary set (IWNN_DIC_SET and IWNN_DIC_INFO). Default settings are used if NULL is specified for the pseudo-dictionary work area.
Alphanumeric pseudo-candidates for dates and times generated by Advanced Wnn can be used by customizing the conversion table for a device's key assignments.
Contact Nintendo for details.

IWNN_PSEUDO_SET Structure

struct IWNN_PSEUDO_SET {
	s16 count;			// Number of pseudo-candidates set
	u8  type[NJ_PSEUDO_SET_MAX];			// Type of pseudo-candidates generated
}

Structure Members

s16 count Number of pseudo-candidates currently set
Sets the number of pseudo-candidates stored in type[].
u8 type Type of pseudo-candidate generated
The types of pseudo-candidates to be generated are stored in order of highest priority first.

Default settings are as follows.
static IWNN_PSEUDO_SET pseudoSet = {
	7,
	{
	NJ_TYPE_FULL_KANJI_NUMERIC_GRADE_READING,
	NJ_TYPE_FULL_NUMERIC_READING,
	NJ_TYPE_HALF_NUMERIC_READING,
	NJ_TYPE_FULL_KANJI_NUMERIC_READING,
	NJ_TYPE_HIRAGANA,
	NJ_TYPE_KATAKANA,
	NJ_TYPE_HALF_KATAKANA,
	}
};

Standard Prediction Filter Search Dictionary (NjexPredictionPseudoDic)

Dictionary Overview

This pseudo-dictionary is used during the derived-prediction filtered search of candidates obtained when the function for getting prediction candidates is called on no reading (reading = "") candidates. The standard prediction search dictionary filter allows the use of consecutive-clause prediction results that cannot usually be used during a derived-prediction filtered search.
External functions are defined in iwnnCTR.h.

Mixed Numeric Character Conversion Dictionary Module (NjexNumericCharPseudoDic)

Dictionary Overview

This pseudo-dictionary is to identify and correctly convert counters in a mixed numeric input string (such as when converting the entry "12 がつ” to “ 12 月”).
External functions are defined in iwnnCTR.h.

Numeric Character Connection Forecast Dictionary Module (NjexNumericForecastPseudoDic)

Dictionary Overview

The pseudo-dictionary is for generating counters as no reading prediction candidates after confirming numbers. (This occurs, for example, when the entry is "12" and candidates returned are “月”/”日” or when the entry is "13" and the candidate returned is “日”.) Appropriate prediction candidates are generated based on the range of values confirmed as numbers and information such as the previously confirmed word.
External functions are defined in iwnnCTR.h.

CONFIDENTIAL