Next: , Up: Databases   [Contents][Index]


4.3.12.1 Input Conversions

The argument to DEFINE or MATCH command can optionally be modified before being used in actual search. This allows, for example, to input search terms in transliteration instead of in the actual script. Such a modification is called input conversion. Each conversion is identified by its name. Conversions are implemented by convertors, which are defined in loadable modules, so you will need to load the appropriate ones to be able to actually use them.

Database: conv name
Database: conv ( name0, name1, ... )

This statement associates one or more converters with the database. Each converter takes a word as input and produces another word on output. If the list of converters is specified, then the produced word will be used as input to the next conversion and so on. Output from the last conversion will be used as the actual headword to look up.

See greek_kbd, for an example of using input convertors.