Oracle8i interMedia Text Reference Release 2 (8.1.6) Part Number A77063-01 |
|
Executables, 4 of 4
ctxkbtc
)
The ctxkbtc
compiler takes one or more specified thesauri and compiles them with the interMedia Text knowledge base to create an extended knowledge base. The extended information can be application-specific terms and relationships.
The extended knowledge base overrides any terms and relationships in the knowledge base where there is overlap. The extended knowledge base is accessed during tasks that use the knowledge base, such as theme indexing, processing ABOUT queries in English, and extracting document themes with document services.
See Also:
For more information about the knowledge base packaged with interMedia Text, see Appendix J, "Knowledge Base - Category Hierarchy". For more information about the ABOUT operator, see ABOUT operator in Chapter 4. For more information about document services, see Chapter 8, "CTX_DOC Package". |
ctxkbtc -user uname/passwd [-name thesname1 [thesname2 ... thesname16]] [-revert] [-verbose] [-log filename]
Specify the username and password for the administrator creating an extended knowledge base.
Specify the name(s) of the thesauri (up to 16) to be compiled with the knowledge base to create the extended knowledge base. The thesauri you specify must already be loaded with ctxload
.
Reverts the extended knowledge base to the default knowledge base provided by interMedia Text.
Displays all warnings and messages, including non-NLS messages, to the standard output.
Specify the log file for storing all messages. When you specify a log file, no messages are reported to standard out.
Knowledge base extension cannot be performed when theme indexing is being performed.
In addition, any SQL sessions that are using interMedia Text functions must be exited and reopened to make use of the extended knowledge base.
There can be only one user extension per installation. Since a user extension affects all users at the installation, only administrators or terminology managers should extend the knowledge base.
Running ctxkbtc
twice removes the previous extension.
Before being compiled, each thesaurus must be loaded into interMedia Text case sensitive with the "-thescase Y" option in ctxload
.
Terms are case sensitive. If a thesaurus has a term in uppercase, for example, the same term present in lowercase form in a document will not be recognized.
The maximum length of a term is 80 characters.
Disambiguated homographs are not supported.
The following constraints apply to thesaurus relations:
Oracle recommends that new terms be linked to one of the categories in the knowledge base for best results in theme proving when appropriate.
See Also:
For more information about the knowledge base, see Appendix J, "Knowledge Base - Category Hierarchy" |
If new terms are kept completely disjoint from existing categories, fewer themes from new terms will be proven. The result of this is poorer precision and recall with ABOUT queries as well poor quality of gists and theme highlighting.
You link new terms to existing terms by making an existing term the broader term for the new terms.
You purchase a medical thesaurus medthes
containing a a hierarchy of medical terms. The four top terms in the thesaurus are the following:
To link these terms to the existing knowledge base, add the following entries to the medical thesaurus to map the new terms to the existing health and medicine branch:
health and medicine NT Anesthesia and Analgesia NT Anti-Allergic and Respiratory System Agents NT Anti-Inflamammatory Agents, Antirheumatic Agents, and Inflamation Mediators NT Antineoplastic and Immunosuppressive Agents
Assuming the medical thesaurus is in a file called med.thes, you load the thesaurus as medthes
with ctxload
as follows:
ctxload -thes -thescase y -name medthes -file med.thes -user ctxsys/ctxsys
To link the loaded thesaurus medthes
to the knowledge base, use ctxkbtc
as follows:
ctxkbtc -user ctxsys/ctxsys -name medthes
When multiple thesauri are to be compiled, precedence is determined by the order in which thesauri are listed in the arguments to the compiler (most preferred first). A user thesaurus always has precedence over the built-in knowledge base.
The following table lists the size limits associated with creating and compiling an extended knowledge base:
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|