List of define Constants

Description

This is a list of define constants.

Pseudo-Candidate Definitions

Pseudo-candidate information definitions
Definition Name Value Description
NJ_PSEUDO_SET_MAX 37 Defines the maximum number of pseudo-candidate types
Maximum value: 250
Minimum value: 7

Pseudo-Candidate Type Definitions
Definition Name Value Description
NJ_TYPE_HALF_NUMERIC_READING 33 Pseudo-candidate type: Half-width, characters with number readings converted to numbers
NJ_TYPE_FULL_NUMERIC_READING 34 Pseudo-candidate type: Full-width, characters with number readings converted to numbers
NLL_KANJI_NUMERIC_READING 35 Pseudo-candidate type: Full-width, characters with number readings converted to kanji numbers
NJ_TYPE_FULL_KANJI_NUMERIC_GRADE_READING 36 Pseudo-candidate type: Full-width, characters with number readings converted to kanji numbers (grade)

Parsing-Related Constant Definitions

Parsing Status
Definition Name Value Description
Prediction-Related Constants
NJ_ANALYZE_INITIAL 0x0000 Initial setting status
NJ_ANALYZE_NEXT_PREDICTION 0x0001 No reading prediction (derived prediction)
NJ_ANALYZE_FORWARD_SEARCH 0x0002 Parse forward match
Conversion-Related
NJ_ANALYZE_FORWARD_SEARCH_WITH_NO_READING 0x0003 Parse forward match (include no reading predictions)
NJ_ANALYZE_CONVERSION_MULTIPLE 0x0004 Parse multiple phrases
NJ_ANALYZE_CONVERSION_SINGLE 0x0005 Parse single phrase
NJ_ANALYZE_COMPLETE 0x0006 Parse entire candidate
NJ_ANALYZE_END 0x0007 End parsing

Common Dictionary Lookup Definitions

Dictionary Type Definitions
Definition Name Value Description
Parts of speech required for conversion and so on
NJ_PARTS_OF_SPEECH_PSEUDO_FORE 1 Pseudo by parts of speech (fore)
NJ_PARTS_OF_SPEECH_PSEUDO_BACK 2 Pseudo by parts of speech (aft)
NJ_PARTS_OF_SPEECH_NUMERIC_BACK 14 Numeric by parts of speech (aft)
Parts of speech required for evaluation and so on
NJ_PARTS_OF_SPEECH_SINGLE_KANJI_FORE 4 Single kanji by parts of speech (fore)
NJ_PARTS_OF_SPEECH_SINGLE_KANJI_BACK 5 Single kanji by parts of speech (aft)
Part-of-Speech Groups
NJ_PARTS_OF_SPEECH_NOUN_FORE 6 Noun by parts of speech (fore)
NJ_PARTS_OF_SPEECH_NOUN_BACK 7 Noun by parts of speech (aft)
NJ_PARTS_OF_SPEECH_PERSON_NAME_FORE 8 Person's name by parts of speech (fore)
NJ_PARTS_OF_SPEECH_PERSON_NAME_BACK 9 Person's name by parts of speech (aft)
NJ_PARTS_OF_SPEECH_NOUN_NO_CONJUGATION_FORE 10 Noun by parts of speech (no conjugation)
NJ_PARTS_OF_SPEECH_NOUN_NO_CONJUGATION_BACK 11 Noun by parts of speech (no conjugation)
NJ_PARTS_OF_SPEECH_PLACE_NAME_FORE 10 Place name by parts of speech (fore)
NJ_PARTS_OF_SPEECH_PLACE_NAME_BACK 11 Place name by parts of speech (aft)
NJ_PARTS_OF_SPEECH_SYMBOL_FORE 12 Symbol by parts of speech (fore)
NJ_PARTS_OF_SPEECH_SYMBOL_BACK 13 Symbol by parts of speech (aft)

Dictionary Interface Definitions

Dictionary Type Definitions
Definition Name Value Description
NJG_OPERATION_SEARCH 0x0001 First search
NJG_OPERATION_SEARCH_NEXT 0x0002 Next candidate search
NJG_OPERATION_GET_WORD_INFO 0x0003 Get word information
NJG_OPERATION_GET_STROKE 0x0004 Get reading string
NJG_OPERATION_GET_STR 0x0005 Get notational string
NJG_OPERATION_GET_ADDITIONAL 0x000A Get additional information string
NJG_OPERATION_LEARN 0x0006 Learn word
NJG_OPERATION_UNDO_LEARN 0x0007 Undo word learn
NJG_OPERATION_ADD_WORD 0x0008 Register word
NJG_OPERATION_DELETE_WORD 0x0009 Delete word

Conversion Engine Definitions (Common)

Dictionary Type Definitions
Definition Name Value Description
Number of array elements containing NULL character (conversion impossible)
NJ_TERM_LEN 1
NJ_TERM_SIZE (NJ_TERM_LEN)
NULL definition
NULL 0
Internal Engine Limit Data Types
NJ_MAX_DIC 20 [All functions] Maximum number of mounted word dictionaries
Maximum value: 100
Minimum value: 4
Default value: 20
NJ_MAX_CHARSET 255 [Prediction Function] Maximum number of registered fuzzy characters
Maximum value: 255
Minimum value: 1
Default value: 50
NJ_SEARCH_CACHE_SIZE 255 [Prediction Function] Maximum cache size
Maximum value: 1000
Minimum value: 10
Default value: 50
NJ_MAX_RESULT_LEN 55 [Conversion/Prediction Functions] Maximum number of output character array elements
Maximum value: 55 (when using UTF-16)
Minimum value: 40
Default value: 40
NJ_MAX_LEN 55 [Conversion/Prediction Functions] Maximum number of reading character array elements
Maximum value: J_MAX_RESULT_LEN
Minimum value: 20
Default value: 20
NJ_MAX_ADDITIONAL_LEN 40 [Conversion/Prediction Functions] Maximum number of additional information character array elements
Maximum value: 110
Minimum value: 20
Default value: 40
NJ_MAX_ADDITIONAL_INFO 2 [Conversion/Prediction Functions] Maximum number of additional information elements
Maximum value: 5
Minimum value: 1
Default value: 2
NJ_MAX_KEYWORD (NJ_MAX_RESULT_LEN + NJ_TERM_LEN) [Prediction Function] Maximum number of cache character array elements
Fixed value: (NJ_MAX_RESULT_LEN + NJ_TERM_LEN)
NJ_MAX_PHRASE NJ_MAX_LEN [Conversion Function] Maximum number of conversion phrases
Fixed value: NJ_MAX_LEN
NJ_MAX_ANCILLARY_LEN (NJ_MAX_LEN / 2) [All Candidates] Auxiliary word analysis, maximum number of character array elements
Maximum value: NJ_MAX_LEN/2
Minimum value: 0
Default value: NJ_MAX_LEN/2
NJ_MAX_GET_RESULTS 32 [Conversion] Maximum number of dictionary lookup results obtained for strings with same readings during consecutive-clause analysis
Maximum value: 32
Minimum value: 5
Default value: 32
NJ_MAX_USER_LEN 40 [Word Registration] Maximum number of reading character array elements
Maximum value: NJ_MAX_LEN
Minimum value: 20
Default value: 40
NJ_MAX_USER_CANDIDATE_LEN 40 [Word Registration] Maximum number of candidate character array elements
Maximum value: NJ_MAX_RESULT_LEN
Minimum value: 20
Default value: 40
NJ_MAX_USER_ADDITIONAL_LEN 40 [Word Registration] Maximum number of additional information character array elements
Maximum value: NJ_MAX_ADDITIONAL_LEN
Minimum value: 20
Default value: 20
NJ_MAX_USER_COUNT 100 [Word Registration] Maximum number of word registrations
Maximum value: 255
Minimum value: 10
Default value: 100
NJ_USER_DIC_SIZE (NJ_USER_QUEUE_SIZE + NJ_INDEX_SIZE
+ NJ_INDEX_SIZE)NJ_MAX_USER_COUNT
+ NJ_INDEX_SIZE + NJ_INDEX_SIZE
+ NJ_LEARN_DIC_HEADER_SIZE + 4)
[Word Registration] User dictionary size (cannot be changed)
NJ_USER2_DIC_SIZE ((NJ_USER2_QUEUE_SIZE + NJ_INDEX_SIZE
+ NJ_INDEX_SIZE)NJ_MAX_USER_COUNT
+ NJ_INDEX_SIZE + NJ_INDEX_SIZE
+ NJ_LEARN_DIC_HEADER_SIZE + 4)
[Word Registration] User dictionary (with additional information) size (cannot be changed)
NJ_MAX_CANDIDATE 300 [Conversion Function] Maximum number of candidates obtained
Maximum value: 500
Minimum value: 100
Default value: 300
MM_MAX_MORPHOLIZE_LEN (100 / sizeof(wchar_t)) [Morphological Analysis] Maximum number of morphological analysis character array elements
Maximum value: 50 (when using UTF-16)
Minimum value: 40
Default value: 40
FLASH Dictionary Information Definitions
NJ_FUNC_ALL_CANDIDATES 11 IWNN_FLASH_DIC_INFO: Number of caches
Dictionary Information Definitions
NJ_DIC_HANDLE_TYPE_NRM 0x00 IWNN_DIC_INFO::type Standard dictionary
NJ_DIC_HANDLE_TYPE_PROGRAM 0x01 IWNN_DIC_INFO::type Pseudo-dictionary
NJ_DIC_HANDLE_TYPE_PROGRAM_ANCILLARY 0x02 IWNN_DIC_INFO::type Pseudo-dictionary (ancillary words)
NJ_DIC_HANDLE_TYPE_ON_FLASH 0x03 IWNN_DIC_INFO::type FLASH dictionary
NJ_MODE_TYPE_MAX 3 IWNN_DIC_INFO: Dictionary frequency type count
NJ_MODE_TYPE_CONVERSION 0 IWNN_DIC_INFO::dicFrequency Standard conversion dictionary frequency
NJ_MODE_TYPE_PREDICTION 1 IWNN_DIC_INFO::dicFrequency Prediction and conversion dictionary frequency
NJ_MODE_TYPE_MORPHOLIZE 2 IWNN_DIC_INFO::dicFrequency Morphological analysis dictionary frequency
Default dictionary frequency
NJ_DEFAULT_FREQUENCY_DIC_UNION_CONVERSION_HIGH 550 Default dictionary frequency::Integrated dictionary (for conversion) -High-
NJ_DEFAULT_FREQUENCY_DIC_UNION_CONVERSION_BASE 400 Default dictionary frequency::Integrated dictionary (for conversion) -Base-
NJ_DEFAULT_FREQUENCY_DIC_UNION_PREDICTION_HIGH 560 Default dictionary frequency::Integrated dictionary (for prediction) -High-
NJ_DEFAULT_FREQUENCY_DIC_UNION_PREDICTION_BASE 100 Default dictionary frequency::Integrated dictionary (for prediction) -Base-
NJ_DEFAULT_FREQUENCY_DIC_UNION_MORPHOLIZE_HIGH 500 Default dictionary frequency::Integrated dictionary (for morphological analysis) -High-
NJ_DEFAULT_FREQUENCY_DIC_UNION_MORPHOLIZE_BASE 400 Default dictionary frequency::Integrated dictionary (for morphological analysis) -Base-
NJ_DEFAULT_FREQUENCY_DIC_SINGLE_CONVERSION_HIGH 10 Default dictionary frequency::Single kanji dictionary (for conversion) -High-
NJ_DEFAULT_FREQUENCY_DIC_SINGLE_CONVERSION_BASE 0 Default dictionary frequency::Single kanji dictionary (for conversion) -Base-
NJ_DEFAULT_FREQUENCY_DIC_SINGLE_PREDICTION_HIGH 0 Default dictionary frequency::Single kanji dictionary (for prediction) -High-
NJ_DEFAULT_FREQUENCY_DIC_SINGLE_PREDICTION_BASE 10 Default dictionary frequency::Single kanji dictionary (for prediction) -Base-
NJ_DEFAULT_FREQUENCY_DIC_SINGLE_MORPHOLIZE_HIGH 10 Default dictionary frequency::Single kanji dictionary (for morphological analysis) -High-
NJ_DEFAULT_FREQUENCY_DIC_SINGLE_MORPHOLIZE_BASE 0 Default dictionary frequency::Single kanji dictionary (for morphological analysis) -Base-
NJ_DEFAULT_FREQUENCY_DIC_ANCILLARY_CONVERSION_HIGH 500 Default dictionary frequency::Ancillary word dictionary (for conversion) -High-
NJ_DEFAULT_FREQUENCY_DIC_ANCILLARY_CONVERSION_BASE 400 Default dictionary frequency::Ancillary word dictionary (for conversion) -Base-
NJ_DEFAULT_FREQUENCY_DIC_ANCILLARY_PREDICTION_HIGH 0 Default dictionary frequency::Ancillary word dictionary (for prediction) -High-
NJ_DEFAULT_FREQUENCY_DIC_ANCILLARY_PREDICTION_BASE 10 Default dictionary frequency::Ancillary word dictionary (for prediction) -Base-
NJ_DEFAULT_FREQUENCY_DIC_ANCILLARY_MORPHOLIZE_HIGH 500 Default dictionary frequency::Ancillary word dictionary (for morphological analysis) -High-
NJ_DEFAULT_FREQUENCY_DIC_ANCILLARY_MORPHOLIZE_BASE 400 Default dictionary frequency::Ancillary word dictionary (for prediction) -Base-
NJ_DEFAULT_FREQUENCY_DIC_READING_CONVERSION_HIGH 0 Default dictionary frequency::No reading prediction dictionary (for conversion) -High-
NJ_DEFAULT_FREQUENCY_DIC_READING_CONVERSION_BASE 10 Default dictionary frequency::No reading prediction dictionary (for conversion) -Base-
NJ_DEFAULT_FREQUENCY_DIC_READING_PREDICTION_HIGH 244 Default dictionary frequency::No reading prediction dictionary (for prediction) -High-
NJ_DEFAULT_FREQUENCY_DIC_READING_PREDICTION_BASE 100 Default dictionary frequency::No reading prediction dictionary (for prediction) -Base-
NJ_DEFAULT_FREQUENCY_DIC_READING_MORPHOLIZE_HIGH 0 Default dictionary frequency::No reading prediction dictionary (for morphological analysis) -High-
NJ_DEFAULT_FREQUENCY_DIC_READING_MORPHOLIZE_BASE 10 Default dictionary frequency::No reading prediction dictionary (for morphological analysis) -Base-
NJ_DEFAULT_FREQUENCY_DIC_READING_CONVERSION_HIGH 0 Default dictionary frequency::No reading prediction dictionary (for conversion) -High-
NJ_DEFAULT_FREQUENCY_DIC_READING_CONVERSION_BASE 10 Default dictionary frequency::No reading prediction dictionary (for conversion) -Base-
NJ_DEFAULT_FREQUENCY_DIC_READING_PREDICTION_HIGH 920 Default dictionary frequency::No reading prediction dictionary (for prediction) -High-
NJ_DEFAULT_FREQUENCY_DIC_READING_PREDICTION_BASE 820 Default dictionary frequency::No reading prediction dictionary (for prediction) -Base-
NJ_DEFAULT_FREQUENCY_DIC_READING_MORPHOLIZE_HIGH 0 Default dictionary frequency::No reading prediction dictionary (for morphological analysis) -High-
NJ_DEFAULT_FREQUENCY_DIC_READING_MORPHOLIZE_BASE 10 Default dictionary frequency::No reading prediction dictionary (for morphological analysis) -Base-
NJ_DEFAULT_FREQUENCY_DIC_USER_CONVERSION_HIGH 410 Default dictionary frequency::User dictionary (for conversion) -High-
NJ_DEFAULT_FREQUENCY_DIC_USER_CONVERSION_BASE 410 Default dictionary frequency::User dictionary (for conversion) -Base-
NJ_DEFAULT_FREQUENCY_DIC_USER_PREDICTION_HIGH 0 Default dictionary frequency::User dictionary (for prediction) -High-
NJ_DEFAULT_FREQUENCY_DIC_USER_PREDICTION_BASE 10 Default dictionary frequency::User dictionary (for prediction) -Base-
NJ_DEFAULT_FREQUENCY_DIC_USER_MORPHOLIZE_HIGH 0 Default dictionary frequency::User dictionary (for morphological analysis) -High-
NJ_DEFAULT_FREQUENCY_DIC_USER_MORPHOLIZE_BASE 10 Default dictionary frequency::User dictionary (for morphological analysis) -Base-
NJ_DEFAULT_FREQUENCY_DIC_LEARN_CONVERSION_HIGH 1000 Default dictionary frequency::Learning dictionary (for conversion) -High-
NJ_DEFAULT_FREQUENCY_DIC_LEARN_CONVERSION_BASE 501 Default dictionary frequency::Learning dictionary (for conversion) -Base-
NJ_DEFAULT_FREQUENCY_DIC_LEARN_PREDICTION_HIGH 1000 Default dictionary frequency::Learning dictionary (for prediction) -High-
NJ_DEFAULT_FREQUENCY_DIC_LEARN_PREDICTION_BASE 501 Default dictionary frequency::Learning dictionary (for prediction) -Base-
NJ_DEFAULT_FREQUENCY_DIC_LEARN_MORPHOLIZE_HIGH 0 Default dictionary frequency::Learning dictionary (for morphological analysis) -High-
NJ_DEFAULT_FREQUENCY_DIC_LEARN_MORPHOLIZE_BASE 10 Default dictionary frequency::Learning dictionary (for morphological analysis) -Base-
NJ_DEFAULT_FREQUENCY_DIC_CUSTOM_CONVERSION_HIGH 400 Default dictionary frequency::Customized dictionary (for conversion) -High-
NJ_DEFAULT_FREQUENCY_DIC_CUSTOM_CONVERSION_BASE 0 Default dictionary frequency::Customized dictionary (for conversion) -Base-
NJ_DEFAULT_FREQUENCY_DIC_CUSTOM_PREDICTION_HIGH 400 Default dictionary frequency::Customized dictionary (for prediction) -High-
NJ_DEFAULT_FREQUENCY_DIC_CUSTOM_PREDICTION_BASE 0 Default dictionary frequency::Customized dictionary (for prediction) -Base-
NJ_DEFAULT_FREQUENCY_DIC_CUSTOM_MORPHOLIZE_HIGH 400 Default dictionary frequency::Customized dictionary (for morphological analysis) -High-
NJ_DEFAULT_FREQUENCY_DIC_CUSTOM_MORPHOLIZE_BASE 0 Default dictionary frequency::Customized dictionary (for morphological analysis) -Base-
Dictionary Search Condition Set Definitions
NJ_CURSOR_OPERATION_COMPLETE 0 IWNN_SEARCH_CONDITION::operation Forward lookup complete match search
NJ_CURSOR_OPERATION_FORE 1 IWNN_SEARCH_CONDITION::operation Forward lookup forward match search
NJ_CURSOR_OPERATION_LINK 2 IWNN_SEARCH_CONDITION::operation Connected search
NJ_CURSOR_OPERATION_REVERSE 3 IWNN_SEARCH_CONDITION::operation Reverse lookup complete match search
NJ_CURSOR_OPERATION_REVERSE_FORE 4 IWNN_SEARCH_CONDITION::operation Reverse lookup forward match search
NJ_CURSOR_MODE_FREQUENCY 0 IWNN_SEARCH_CONDITION::mode Order of frequency
NJ_CURSOR_MODE_READING 1 IWNN_SEARCH_CONDITION::mode Order of reading
Word Registration Information Definitions
NJ_PARTS_OF_SPEECH_NOUN 0 IWNN_WORD_INFO::partsOfSpeechGroup Noun (can be conjugated with -suru)
NJ_PARTS_OF_SPEECH_PERSON_NAME 1 IWNN_WORD_INFO::partsOfSpeechGroup Person name
NJ_PARTS_OF_SPEECH_NOUN_NO_CONJUGATION 2 IWNN_WORD_INFO::partsOfSpeechGroup Noun (no conjugation)
NJ_PARTS_OF_SPEECH_PLACE_NAME 2 IWNN_WORD_INFO::partsOfSpeechGroup Place name or station name
NJ_PARTS_OF_SPEECH_SYMBOL 3 IWNN_WORD_INFO::partsOfSpeechGroup Symbol
NJ_PARTS_OF_SPEECH_DETAIL 255 IWNN_WORD_INFO::partsOfSpeechGroup Get details
NJ_GET_READING_LEN_FROM_STEM ((u8)((s)->stem.info1 & 0x7F)) IWNN_WORD:Gets the independent word reading character array length
s : phrase/word information (IWNN_WORD)
NJ_GET_CANDIDATE_LEN_FROM_STEM ((u8)((s)->stem.info2 & 0x7F)) IWNN_WORD:Gets the independent word candidate string array length
s : phrase/word information (IWNN_WORD)
NJ_SET_FORE_PARTS_OF_SPEECH_TO_STEM ((s)->stem.info1
= ((s)->stem.info1 & 0x007F) | (u16)((v) << 7))
IWNN_WORD:Sets the independent word fore part of speech
s : phrase/word information (IWNN_WORD)
v : independent word fore part of speech
NJ_SET_READING_LEN_TO_STEM ((s)->stem.info1
= ((s)->stem.info1 & 0xFF80) | (u16)((v) & 0x7F))
IWNN_WORD:Sets the independent word reading character array length
s : phrase/word information (IWNN_WORD)
v : independent word reading character array length
NJ_SET_BACK_PARTS_OF_SPEECH_TO_STEM ((s)->stem.info2
= ((s)->stem.info2 & 0x007F) | (u16)((v) << 7))
IWNN_WORD:Sets the independent word back part of speech
s : phrase/word information (IWNN_WORD)
v : independent word back part of speech
NJ_SET_CANDIDATE_LEN_TO_STEM ((s)->stem.info2
= ((s)->stem.info2 & 0xFF80) | (u16)((v) & 0x7F))
IWNN_WORD:Sets the independent word candidate character array length
s : phrase/word information (IWNN_WORD)
v : independent word candidate character array length
NJ_SET_FREQUENCY_TO_STEM ((s)->stem.frequency = (NJ_FREQUENCY)(v)) IWNN_WORD:Sets the independent word frequency value
s : phrase/word information (IWNN_WORD)
v : independent word frequency value
Processing Result Information Definitions
NJ_OPERATION_SEARCH 0x0000 IWNN_RESULT::operationId: Dictionary search
NJ_OPERATION_CONVERT 0x0001 IWNN_RESULT::operationId: Standard conversion
NJ_OPERATION_ANALYZE 0x0002 IWNN_RESULT::operationId: Predict and convert
NJ_OPERATION_MORPHOLIZE 0x0003 IWNN_RESULT::operationId: Morphological analysis
NJ_OPERATION_ENVIRONMENT 0x0004 IWNN_RESULT::operationId: All candidates
NJ_FUNC_SEARCH 0x0000 IWNN_RESULT::operationId: Dictionary search
NJ_FUNC_CONVERT_MULTIPLE 0x0010 IWNN_RESULT::operationId: Multiple phrases
NJ_FUNC_CONVERT_SINGLE 0x0020 IWNN_RESULT::operationId: Single phrase
NJ_FUNC_ALL_CANDIDATES 0x0030 IWNN_RESULT::operationId: All candidates
NJ_FUNC_NEXT 0x0040 IWNN_RESULT::operationId: Next candidate
NJ_FUNC_SEARCH_REVERSE 0x0050 IWNN_RESULT::operationId: Reverse lookup
NJ_FUNC_SPLIT_WORD 0x0060 IWNN_RESULT::operationId: Morphological elements
NJ_FUNC_RELATION 0x0080 IWNN_RESULT::operationId: Derivation
NJ_GET_PSEUDO_BIT(id) ((id) & NJ_TYPE_PSEUDO_MASK) Get IWNN_RESULT::operationId: pseudo type
id :operationId
NJ_TYPE_PSEUDO_BIT 0x0800 IWNN_RESULT::operationId: Pseudo-candidate flag
NJ_DIC_PSEUDO 0x0000 IWNN_RESULT::operationId: Pseudo-candidate
NJ_DIC_STATIC 0x1000 IWNN_RESULT::operationId: Standard dictionary
NJ_DIC_CUSTOMIZE 0x2000 IWNN_RESULT::operationId: Distributed dictionary
NJ_DIC_LEARN 0x3000 IWNN_RESULT::operationId: Learning dictionary
NJ_DIC_USER 0x4000 IWNN_RESULT::operationId: User dictionary
NJ_DIC_PROGRAM 0x5000 IWNN_RESULT::operationId: Pseudo-dictionary
Option Definitions
NJ_ADD_WORD_OPTIMIZE_OFF 0x0001 IWNN_OPTION: Extended API operational mode - dictionary optimization off
nj_analyze API Parsing Limitation Types
NJ_NO_MULTI_CONVERSION (u16)0x0001 Parsing limit: No consecutive-clause conversion results
NJ_NO_SINGLE_CONVERSION (u16)0x0002 Parsing limit: No phrase-level conversion results
NJ_NO_LEARN (u16)0x0008 Parsing limit: No prediction results in learning dictionary
NJ_NO_PREDICTION (u16)0x0010 Parsing limit: No prediction results in prediction dictionary
NJ_NO_ALL_CANDIDATE (u16)0x0020 Parsing limit: No all candidate results
NJ_NO_READING_ON (u16)0x0100 Parsing limit: Perform no reading prediction filter search
NJ_RELATION_ON (u16)0x0200 Parsing limit: Perform derived prediction filter search
Prediction Option Definitions (when using the NJ_OPT_STATE_TYPE2 compile option)
NJ_MAX_STATE 32 iWnn Usage Status Setting Definitions
Prediction Option Definitions (when not using the "NJ_OPT_STATE_TYPE2 compile option)
NJ_MAX_STATE 16 iWnn Usage Status Setting Definitions
State Setting Definitions (when using the NJ_OPT_STATE_TYPE2 compile option)
NJ_CATEGORY_FIELD_PERSON 0 IWNN_STATE::system input field: Person's name
NJ_CATEGORY_FIELD_NOUN 1 IWNN_STATE::system input field: Noun
NJ_CATEGORY_FIELD_HEAD 2 IWNN_STATE::system input field: Head
NJ_CATEGORY_EXPRESSION_COLLOQUIAL 3 IWNN_STATE::system Type of expression: Colloquial expression (spoken language)
NJ_CATEGORY_EXPRESSION_WRITTEN 4 IWNN_STATE::system Type of expression: Fixed expression (written language)
NJ_CATEGORY_TIME_MORNING 5 IWNN_STATE::system Time expression: Morning
NJ_CATEGORY_TIME_NOON 6 IWNN_STATE::system Time expression: Noon
NJ_CATEGORY_TIME_NIGHT 7 IWNN_STATE::system Time expression: Night
NJ_CATEGORY_TIME_SPRING 8 IWNN_STATE::system Time expression: Spring
NJ_CATEGORY_TIME_SUMMER 9 IWNN_STATE::system Time expression: Summer
NJ_CATEGORY_TIME_AUTUMN 10 IWNN_STATE::system Time expression: Fall
NJ_CATEGORY_TIME_WINTER 11 IWNN_STATE::system Time expression: Winter
NJ_CATEGORY_TIME_PAST 12 IWNN_STATE::system Time expression: Past
NJ_CATEGORY_TIME_FUTURE 13 IWNN_STATE::system Time expression: Future
NJ_CATEGORY_FEEL_PLUS 14 IWNN_STATE::system Feeling expression: positive feelings
NJ_CATEGORY_FEEL_MINUS 15 IWNN_STATE::system Feeling expression: negative feelings
Status Setting Definitions (when not using the NJ_OPT_STATE_TYPE2 compile option)
NJ_CATEGORY_FIELD_PERSON 0 IWNN_STATE::system input field: Person's name
NJ_CATEGORY_FIELD_NOUN 1 IWNN_STATE::system input field: Noun
NJ_CATEGORY_FIELD_HEAD 2 IWNN_STATE::system input field: Head
NJ_CATEGORY_EXPRESSION_COLLOQUIAL 3 IWNN_STATE::system Type of expression: Colloquial expression (spoken language)
NJ_CATEGORY_EXPRESSION_WRITTEN 4 IWNN_STATE::system Type of expression: Fixed expression (written language)
NJ_CATEGORY_TIME_MORNING 5 IWNN_STATE::system Time expression: Morning
NJ_CATEGORY_TIME_NOON 6 IWNN_STATE::system Time expression: Noon
NJ_CATEGORY_TIME_NIGHT 7 IWNN_STATE::system Time expression: Night
NJ_CATEGORY_TIME_PAST 8 IWNN_STATE::system Time expression: Past
NJ_CATEGORY_TIME_FUTURE 9 IWNN_STATE::system Time expression: Future
NJ_CATEGORY_FEEL_PLUS 10 IWNN_STATE::system Feeling expression: positive feelings
NJ_CATEGORY_FEEL_MINUS 11 IWNN_STATE::system Feeling expression: negative feelings
NJ_CATEGORY_MONTH_JANUARY 12 IWNN_STATE::system Month: January
NJ_CATEGORY_MONTH_FEBRUARY 13 IWNN_STATE::system Month: February
NJ_CATEGORY_MONTH_MARCH 14 IWNN_STATE::system Month: March
NJ_CATEGORY_MONTH_APRIL 15 IWNN_STATE::system Month: April
NJ_CATEGORY_MONTH_MAY 16 IWNN_STATE::system Month: May
NJ_CATEGORY_MONTH_JUNE 17 IWNN_STATE::system Month: June
NJ_CATEGORY_MONTH_JULY 18 IWNN_STATE::system Month: July
NJ_CATEGORY_MONTH_AUGUST 19 IWNN_STATE::system Month: August
NJ_CATEGORY_MONTH_SEPTEMBER 20 IWNN_STATE::system Month: September
NJ_CATEGORY_MONTH_OCTOBER 21 IWNN_STATE::system Month: October
NJ_CATEGORY_MONTH_NOVEMBER 22 IWNN_STATE::system Month: November
NJ_CATEGORY_MONTH_DECEMBER 23 IWNN_STATE::system Month: December
NJ_MAX_EXTENSION_STATE 2 IWNN_STATE: Number of extended application usage state settings
Pseudo-Candidate Type Definitions (Definitions Used for Processing)
NJ_TYPE_UNDEFINE 0 Pseudo-candidate processing: undefined
NJ_TYPE_NONE 1 Pseudo-candidate processing: (no search target)
Pseudo-Candidate Type Definitions (Pseudo-Candidate Type Definitions)
NJ_TYPE_HIRAGANA 2 Pseudo-candidate type: Hiragana (no conversion)
NJ_TYPE_KATAKANA 3 Pseudo-candidate type: full-width katakana
NJ_TYPE_HALF_KATAKANA 4 Pseudo-candidate type: half-width katakana
NJ_TYPE_HALF_NUMERIC 11 Pseudo-candidate type: Half-width numbers
NJ_TYPE_FULL_NUMERIC 12 Pseudo-candidate type: Full-width numbers
Part-of-Speech Group Number Definitions Returned by MmxGetPartsOfSpeech
MM_PARTS_OF_SPEECH_GROUP_NOUN 0 Part-of-speech group number: Noun
MM_PARTS_OF_SPEECH_GROUP_PSEUDO 1 Part-of-speech group number: Pseudo
MM_PARTS_OF_SPEECH_GROUP_OTHER 2 Part-of-speech group number: Other
Learning Dictionary API Operation Definitions
NJ_MLD_OPERATION_COMMIT 0 Learning dictionary operation OP: Record operation position
NJ_MLD_OPERATION_COMMIT_TO_TOP 1 Learning dictionary operation OP: Move learning information
NJ_MLD_OPERATION_COMMIT_CANCEL 2 Learning dictionary operation OP: Cancel commit operation
NJ_MLD_OPERATION_GET_SPACE 3 Learning dictionary operation OP: Get number of entries that can be registered
Get delimited input position
MM_GET_STEM_LEN(x) ((u16)NJ_GET_READING_LEN_FROM_STEM(&((x)->word))) [Morphological Analysis] Gets the candidate character array length for the independent word based on results of morphological analysis.
Do not specify processing results (result) other than results of morphological analysis.
x: Results of morphological analysis
MM_GET_CANDIDATE_LEN(x) ((u16)(MM_GET_STEM_LEN(x)
+ NJ_GET_READING_LEN_FROM_ANCILLARY(&((x)->word))))
[Morphological Analysis] Gets the candidate character array length based on results of morphological analysis.
Do not specify processing results (result) other than results of morphological analysis.
x: Results of morphological analysis
NjxMergeWordList Mode Definitions
NJ_MERGE_INIT 0x0001 NjxMergeWordList: Clears the list and makes an addition
NJ_MERGE_NOT_EXIST 0x0002 NjxMergeWordList: Adds a non-existing entry
NJ_MERGE_NOT_EXIST_FORCE 0x0102 NjxMergeWordList: Always adds a non-existing entry
NJ_MERGE_FORCE 0x0104 NjxMergeWordList: Always moves all to the end
Dictionary Region Creation API Dictionary Type Definitions
NJ_CREATE_DIC_TYPE_USER 0 Dictionary type: Create user dictionary
NJ_CREATE_DIC_TYPE_LEARN_AWNN 1 Dictionary type: Create learning dictionary (AWnn-compatible)
NJ_CREATE_DIC_TYPE_LEARN 2 Dictionary type: Create learning dictionary
NJ_CREATE_DIC_TYPE_USER_ADDITIONAL 3 Dictionary type: Create user dictionary (with additional information)
NJ_CREATE_DIC_TYPE_LEARN_ADDITIONAL 4 Dictionary type: Create learning dictionary (with additional information)

CONFIDENTIAL