Oracle8i interMedia Text Reference Release 2 (8.1.6) Part Number A77063-01 |
|
CTX_THES Package, 12 of 26
Removes a relation between two phrases from the thesaurus.
Only thesaurus owner and CTXSYS can invoke this procedure on a given thesaurus.
CTX_THES.DROP_RELATION(tname in varchar2, phrase in varchar2, rel in varchar2, relphrase in varchar2 default null);
Specify thesaurus name.
Specify the filing phrase.
Specify relation to drop. The relation is from phrase to relphrase. You can specify one of the following relations:
Specify the related phrase.
The relation you specify for rel is interpreted as from phrase to relphrase. For example, consider dog with broader term animal:
dog BT animal
To remove this relation, specify the arguments as follows:
begin CTX_THES.DROP_RELATION('thes','dog','BT','animal'); end;
You can also remove this relation using NT as follows:
begin CTX_THES.DROP_RELATION('thes','animal','NT','dog'); end;
Remove relation VEHICLE NT CAR:
ctx_thes.drop_relation('thes1', 'vehicle', 'NT', 'car');
Remove all narrower term relations for vehicle:
ctx_thes.drop_relation('thes1', 'vehicle', 'NT');
Remove Japanese translations for me:
ctx_thes.drop_relation('thes1', 'me', 'JAPANESE:');
Remove a specific Japanese translation for me:
ctx_thes.drop_relation('thes1', 'me', 'JAPANESE:', 'boku');
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|