How to define stopwords and stoplist [message #237048] |
Fri, 11 May 2007 13:27 |
inapal
Messages: 14 Registered: September 2006
|
Junior Member |
|
|
Hi All,
I'm using Oracle 9i release 2.
Based on documentation, there are stoplists for different languages.
We already have english stoplist working and we want to include spanish stoplist also.
How can I do it?
Thanks in advance,
Ignacio.
|
|
|
|
|
Re: How to define stopwords and stoplist [message #237823 is a reply to message #237815] |
Tue, 15 May 2007 16:16 |
|
Barbara Boehmer
Messages: 9100 Registered: November 2002 Location: California, USA
|
Senior Member |
|
|
Do you want to replace the default stoplist or add a spanish stoplist? What version of Oracle are you using? The default stoplist is created when the database is created, by running the appropriate sql scripts in the ctx/admin/default subdirectory of your Oracle home directory. If you want to add a stoplist, you can copy and paste the code from the appropriate sql file, modify it to change the name from default_stoplist to something else, like spanish_stoplist, so that it does not overwrite the existing stoplist, then run that file while logged in as ctxsys. In Oracle 10g, the file is <oracle_home>/ctx/admin/defaults/drdefe.sql for the spanish stoplist. In Oracle 9i, there is <oracle_home>/ctx/admin/defaults/drdefesa.sql for latin american spanish stoplist and <oracle_home>/ctx/admin/defaults/drdefe.sql for mexican spanish stoplist. Please let me know if you have any difficulties finding, modifying, or running the files.
|
|
|