KOREAN_MORPH_LEXER Attributes

When you use the KOREAN_MORPH_LEXER, you can specify the following attributes:

Table 27 KOREAN_MORPH_LEXER Attributes

Attribute Attribute Value
verb_adjective Specify TRUE or FALSE to index verbs, adjectives, and adverbs. Default is FALSE.
one_char_word Specify TRUE or FALSE to index one syllable. Default is FALSE.
number Specify TRUE or FALSE to index number. Default is FALSE.
user_dic Specify TRUE or FALSE to index user dictionary. Default is TRUE.
stop_dic Specify TRUE of FALSE to use stop-word dictionary. Default is TRUE. The stop-word dictionary belongs to KOREAN_MORPH_LEXER.
composite

Specify indexing style of composite noun.

Specify COMPOSITE_ONLY to index only composite nouns.

Specify NGRAM to index all noun components of a composite noun.

Specify COMPONENT_WORD to index single noun components of composite nouns as well as the composite noun itself. Default is COMPONENT_WORD.

"KOREAN_MORPH_LEXER Example: Setting Composite Attribute" describes the difference between NGRAM and COMPONENT_WORD.

morpheme Specify TRUE or FALSE for morphological analysis. If set to FALSE, tokens are created from the words that are divided by delimiters such as white space in the document. Default is TRUE.
to_upper Specify TRUE or FALSE to convert English to uppercase. Default is TRUE.
hanja Specify TRUE to index hanja characters. If set to FALSE, hanja characters are converted to hangul characters. Default is FALSE.
long_word Specify TRUE to index long words that have more than 16 syllables in Korean. Default is FALSE.
japanese Specify TRUE to index Japanese characters in Unicode (only in the 2-byte area). Default is FALSE.
english Specify TRUE to index alphanumeric strings. Default is TRUE.