Oracle CTX_ANL
Version 18.1.0.0

General Information
Library Note Morgan's Library Page Header
Are you prepared for the release of Oracle Database 18c ... the first autonomous database? We are here at the Library. It is time for DBAs to stop fighting robots with their fingers and losing ... time to start using our intelligence and winning.
Purpose According to the Oracle Text Reference online doc the CTX_ANL PL/SQL package is used with AUTO_LEXER and provides procedures for adding and dropping a custom dictionary from the lexer. A custom dictionary might be one that you develop for a special field of study or for your industry. In most cases, the dictionaries supplied with Oracle Text are more than sufficient to handle your requirements.
AUTHID CURRENT_USER
Dependencies
CTX_DDL DRUE DRVUTL
DRIUTL DRVLSB DR_DEF
Documented Yes
First Available Not known
Security Model Owned by CTXSYS with EXECUTE granted to the CTXAPP role.
Source {ORACLE_HOME}/ctx/admin/dr0anl.plb
Subprograms
 
ADD_DICTIONARY
Used to add a custom dictionary for use by the AUTO_LEXER ctx_anl.add_dictionary(
name       IN VARCHAR2,
language   IN VARCHAR2,
dictionary IN CLOB);
SQL> DECLARE
dict_str CLOB := 'A' || CHR(9) || 'B' || CHR(9) || 'C' || CHR(9);
BEGIN
  ctx_anl.add_dictionary('UWLEXDICT', 'ENGLISH', dict_str);
END;
/

PL/SQL procedure successfully completed.
 
DROP_DICTIONARY
Drops a custom dictionary from the AUTO_LEXER ctx_anl.drop_dictionary(name IN VARCHAR2);
exec ctx_anl.drop_dictionary('UWLEXDICT');

Related Topics
Built-in Functions
Built-in Packages
CTX_DDL
CTX_ULEXER
CTX_XPCONTAINS
What's New In 12cR2
What's New In 18cR1

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2017 Daniel A. Morgan All Rights Reserved