Oracle Text Reference
Release 9.0.1

Part Number A90121-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to next page

10
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 French 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. 

CREATE_TRANSLATION 

Creates a new translation for a phrase. 

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. 

DROP_TRANSLATION 

Drops a translation for a phrase. 

HAS_RELATION 

Tests for the existence of a thesaurus relation. 

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. 

UPDATE_TRANSLATION 

Updates an existing translation. 

See Also:

Chapter 3, "CONTAINS Query Operators" for more information about the thesaurus operators. 


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

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback