Oracle8
ConText Cartridge Administrator's Guide
Release 2.4 A63820-01 |
|
ConText supplies an English stoplist, which serves as the
default stoplist. In addition, ConText supplied stoplists for many European
languages.
This appendix describes how to create Stoplist preferences for all the supplied stoplists, except the English stoplist, and lists the stop words in each stoplist:
To create a Stoplist preference for any of the following
languages, run the SQL script for the language:
The exact location of the SQL scripts is operating system dependent; however, the scripts are generally located in the following directory structure:
<Oracle_home_directory>
<ConText_directory>
demo
See
Also:
For more information about the directory structure for ConText, see the Oracle8 installation documentation specific to your operating system. |
If you need to add or remove words from a stoplist, you can
directly edit the SQL script for the stoplist.
Note: If you want to edit a stoplist, you should edit the respective script before running it. |
You can edit the scripts using any line/text editor, provided
the editor supports the character set for the language of the stoplist(s)
you are editing.
The SQL scripts can be run in SQL*Plus or any other utility
that supports SQL scripts. Each script takes a single argument, preference_name,
as input.
The following SQL*Plus example creates a Stoplist preference named danish_stopwords:
SQL> @drstopda danish_stopwords
This example assumes SQL*Plus was started from the directory
in which the stoplist scripts are located, which is the recommended method
for running the scripts.
The following English words are defined as stop words in
the DEFAULT_STOPLIST preference provided by ConText:
The drstopda script creates a Stoplist preference containing
the following Danish words:
The drstopnl script creates a Stoplist preference containing
the following words:
The drstopfi script creates a Stoplist preference containing
the following Finnish words:
The drstopfr script creates a Stoplist preference containing
the following French words:
The drstopde script creates a Stoplist preference containing
the following German words:
The drstopfit script creates a Stoplist preference containing
the following Italian words:
The drstopfpr script creates a Stoplist preference containing
the following Portuguese words:
The drstopfes script creates a Stoplist preference containing
the following Spanish words:
The drstopfse script creates a Stoplist preference containing
the following Swedish words: