Oracle8i interMedia Text Reference
Release 2 (8.1.6)

Part Number A77063-01

Library

Product

Contents

Index

Go to previous page Go to next page

11
CTX_THES Package

This chapter provides reference information for using the CTX_THES package to manage and browse thesauri. These thesaurus functions are based on the ISO-2788 and ANSI Z39.19 standards except where noted.

Knowing how information is stored in your thesaurus helps in writing queries with thesaurus operators. You can also use a thesaurus to extend the knowledge base, which is used for ABOUT queries in English and for generating document themes.

CTX_THES contains the following stored procedures and functions:

Name  Description 

ALTER_PHRASE 

Alters thesaurus phrase. 

ALTER_THESAURUS 

Renames or truncates a thesaurus. 

BT 

Returns all broader terms of a phrase. 

BTG 

Returns all broader terms generic of a phrase. 

BTI 

Returns all broader terms instance of a phrase. 

BTP 

Returns all broader terms partitive of a phrase. 

CREATE_PHRASE 

Adds a phrase to the specified thesaurus. 

CREATE_RELATION 

Creates a relation between two phrases. 

CREATE_THESAURUS 

Creates the specified thesaurus and returns the ID for the thesaurus. 

DROP_PHRASE 

Removes a phrase from thesaurus. 

DROP_RELATION 

Removes a relation between two phrases. 

DROP_THESAURUS 

Drops the specified thesaurus from the thesaurus tables. 

NT 

Returns all narrower terms of a phrase. 

NTG 

Returns all narrower terms generic of a phrase. 

NTI 

Returns all narrower terms instance of a phrase. 

NTP 

Returns all narrower terms partitive of a phrase. 

OUTPUT_STYLE 

Sets the output style for the expansion functions. 

PT 

Returns the preferred term of a phrase. 

RT 

Returns the related terms of a phrase 

SN 

Returns scope note for phrase. 

SYN 

Returns the synonym terms of a phrase 

THES_TT 

Returns all top terms for phrase. 

TR 

Returns the foreign equivalent of a phrase. 

TRSYN 

Returns the foreign equivalent of a phrase, synonyms of the phrase, and foreign equivalent of the synonyms.  

TT 

Returns the top term of a phrase. 

See Also:

For more information about the thesaurus operators, see Chapter 4, "Query Operators"


Go to previous page Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index