|
You can modify these APICP settings by adjusting these flags to modify
the Metamorph control parameters below. These are covered elsewhere
in relation to their use in Texis, Vortex, or the Metamorph API; see
the appropriate manual. The settings are:
- suffixproc
- : Whether to do suffix processing or not.
- prefixproc
- : Whether to do suffix processing or not.
- rebuild
- : Whether to do word rebuilding.
- incsd
- : Include start
w/ delimiters in hits (always on for w/N).
- inced
- : Include end
w/ delimiters in hits (always on for w/N).
- withinproc
- : Whether to respect the within (
w/) operator.
- minwordlen
- : Minimum word length for morpheme processing.
- intersects
- : Default number of intersections (if no
@).
- see
- : Whether to look up "see also" references.
- keepeqvs
- : Whether to keep equivalences for words/phrases.
- keepnoise
- : Whether to keep noise words in the query.
- sdexp
- : Default start delimiter REX expression.
- edexp
- : Default end delimiter REX expression.
- eqprefix
- : Main equivalence file name.
- ueqprefix
- : User equivalence file name.
- suffix
- : Suffix list for suffix processing during search.
- suffixeq
- : Suffix list for suffix processing during equivalence lookup.
- prefix
- : Prefix list for prefix processing during search.
- noise
- : Noise word list.
- defaults
- : Restore defaults for all APICP settings.
Note that the default values for these (and other) settings may vary
between Vortex, the Search Appliance, tsql and the Metamorph
API. See the section on "Differences Between Vortex, tsql and
Metamorph API" in the Vortex manual for a list of differences.
The easiest way to make use of these settings is in a Vortex script, e.g.:
<apicp suffixproc 1>
In tsql, they can be altered with a SQL set statement:
tsql "set suffixproc=1; select ..."
The various C APIs have their own calls, e.g. n_setsuffixproc().
Some of the settings can also be changed in the query, for example
horse @minwordlen=3 cat. The setting will apply to all terms
after the setting. You can also create thesaurus entries that apply
specific settings, for example the thesaurus entry
battery={@suffixproc=0,battery,batteries}
could be used to specific word forms only for the word battery in the query.
The { and } are required to enable searching for settings, and
the settings should be first in the list of equivalences. To use inline
equivs you will need to escape the = which is special, e.g.
({@suffixproc\=0,battery,batteries})
Copyright © Thunderstone Software Last updated: Sun Mar 17 21:14:49 EDT 2013
|