CHINESE_LEXER
Identifies tokens in traditional and simplified Chinese text for creating Oracle Text indexes.
The CHINESE_LEXER type offers the following benefits over the CHINESE_VGRAM_LEXER:
-
generates a smaller index
-
better query response time
-
generates real word tokens resulting in better query precision
-
supports stop words
Because the CHINESE_LEXER uses a different algorithm to generate tokens, indexing time is longer than with CHINESE_VGRAM_LEXER.
You can use this lexer if your database character is one of the Chinese or Unicode character sets supported by Oracle.
The CHINESE_LEXER has the following attribute:
Table 23 CHINESE_LEXER Attributes
| Attribute | Attribute Value |
|---|---|
mixed_case_ASCII7 |
Enable mixed-case (upper- and lower-case) searches of ASCII7 text (for example, cat and Cat). Allowable values are YES and NO (default). |
You can modify the existing lexicon (dictionary) used by the Chinese lexer, or create your own Chinese lexicon, with the ctxlc command.
See Also: “Lexical Compiler (ctxlc)” in Oracle Text Utilities