Oracle8i interMedia Text Reference Release 2 (8.1.6) Part Number A77063-01 |
|
CTX_THES Package, 2 of 26
Alters an existing phrase in the thesaurus.
CTX_THES.ALTER_PHRASE(tname in varchar2, phrase in varchar2, op in varchar2, operand in varchar2 default null);
Specify thesaurus name.
Specify phrase to alter.
Specify the alter operation as a string or symbol. You can specify one of the following operations with the op and operand pair:'
Specify argument to the alter operation. See table for op.
Only CTXSYS or thesaurus owner can alter a phrase.
Correct misspelled word in thesaurus:
ctx_thes.alter_phrase('thes1', 'tee', 'rename', 'tea');
Remove qualifier from mercury (metal):
ctx_thes.alter_phrase('thes1', 'mercury (metal)', 'rename', 'mercury');
Add qualifier to mercury:
ctx_thes.alter_phrase('thes1', 'mercury', 'rename', 'mercury (planet)');
Make Kowalski the preferred term in its synonym ring:
ctx_thes.alter_phrase('thes1', 'Kowalski', 'pt');
Change scope note for view cameras:
ctx_thes.alter_phrase('thes1', 'view cameras', 'sn', 'Cameras with lens focusing');
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|