APICP Metamorph Control Parameters Summary

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 inline with the query, for example: horse @minwordlen=3 cat. Such inline settings 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 give exact word forms for just a specific word in a query. I.e. only the words battery and batteries will match for battery: no suffix processing for other suffixes will be done for that term, though such processing may be done for other terms. The { and } curly braces are required to enable inline settings in an equiv list. Also, the settings should be given first in the list, so that they apply to all the words in the list.

To use inline settings in a query-specified equiv list, you will need to escape the = which is special, e.g.:

"cell phone" ({@suffixproc\=0,battery,batteries})

The following settings may be specified inline:

rebuild
defsufrm
defsuffrm
suffixproc
minwordlen
prefixproc


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.