Home

Getting Started

Utilities

Indexing

Omnidex

Development

Tutorials

Quick Links

 

OMNIDEX

Omnidex Text

FORMS Function

Options

Example

Stems and Forms

 

Omnidex Text

Features

Form Searches

Form searches search for rows based on the various forms of the keyword criteria. Forms include plurals, conjugations and derivations.

Form searches attempt to find the stem of a word then expand the search based on that stem. For example, words like judges and judged stem from the word judge. A form search on the word judge will produce judge, judges, judged, judging, adjudicate, judgment, and judiciary.

A word like judgment, which you see above in the list of forms for judge, produces only judge, judgment, and judgments.

Plurals

Plural form searches will evaluate whether the word is a recognized noun, and if so, expand the search to include both singular and plural forms. This algorithm handles regular and irregular plural variations. Regular variations follow a basic algorithm, such as adding s to word to produce words. Irregular variations are driven from a list of exceptions, such as goose and geese.

Plural form searches may produce more than one singular and one plural form. Sometimes a singular form will have multiple plural forms, such as indexes and indices being the plural forms of index. Other times a plural form will have multiple singular forms, such as ax and axis being singular forms of axes.

Conjugations

Conjugation searches will evaluate whether the word is a recognized verb, and if so, expand the search to include the stem and its conjugations. This algorithm handles regular and irregular verbs. Regular variations follow a basic algorithm, such as adding ed to expand. Irregular variations are driven from a list of exceptions, such as write and wrote.

Conjugation searches may produce more than one word for each conjugation. For example, it is acceptable to say either, ‘He dived into the pool,’ and “He dove into the pool”.

Derivations

Derivations are similar to synonyms in that they are obtained from the thesaurus, producing words that are derived from another word. For example, housing is derived from house. This search is unidirectional; housing will produce house, but house will not produce housing.

Form searches are accomplished by using the FORMS option of the $CONTAINS function or by using the FORMS function directly in the qualification criteria.

 

Stems and Forms

A form search can be applied against either the stem or a form of a word. For instance, a form search is allowed against any of the following words: index, indices, indexed and indexation. The results will vary for each of these searches depending of the part of speech the word belongs to. Form searches begin by determining the stem of the passed word and then rendering the forms for each stem. The chart below demonstrates how each of these words renders its forms.

Word

Stem (Part of Speech)

Singular/Plural

Conjugations

Derivations

index

index (n)

index (v)

index

indexes

indices

index

indexes

indexed

indexing

indexer

indexation

indexing

indices

index (n)

index

indexes

indices

Not applicable

None available

indexed

index (v)

Not applicable

index

indexes

indexed

indexing

indexer

indexation

indexing

indexation

indexation (n)

indexation

indexations

Not applicable

index

 

 

 

FORMS Function

Causes Omnidex to expand the search to include forms of the criteria keyword.

Syntax

FORMS(criteria[, approach[, options]])

criteria
Required. The qualification criteria to be expanded to include forms. Each word will be expanded to include the possible forms of the keyword.

approach
Optional. Define the approach to use for the forms search. Valid approaches are:
PLURALS
CONJUGATIONS
DERIVATIONS

options
Optional. See Options (below) for a list of valid options.

 

Options

There are currently two valid options available for use with this function.

INCLUSIVE - Default - Include the original keyword, as well as any additional forms of the word, in the search.

EXCLUSIVE - Only the different forms of the keyword in the search, excluding the keyword itself.

 

 

Example

QUALIFY CATALOG WHERE CONTENT = 'FORMS(index)'

SELECT * FROM CATALOG WHERE $CONTAINS(CONTENT,'index','FORMS')

 

Top