Indexing a Dictionary

Lingvo indexes a dictionary either when you first carry out a search in this dictionary, or when a dictionary is added to the Bookshelf. User dictionaries are indexed in the same way as Lingvo system dictionaries.

To enable Lingvo to carry out full-text searches in the body text of the cards, you must enclose the text in special tags. Otherwise, Lingvo will only look for card headwords. 

Use the [trn] and [/trn] tags to mark the translation zone. This zone must include translations of the headword.

Use the [ex] and [/ex] tags to mark the examples zone.

Use the [com] and [/com] tags to mark the comments zone, which provides additional information about the translations equivalents.

There can be some text in a dictionary entry which you may wish not to be indexed (for example, quotations from other entries). Use the [!trs] and [/!trs] tags to mark text fragments which you do not want to be indexed.

Select the Create dictionary prepared for indexing by default option to mark index zones indexing zones automatically. In this case, the DSL Compiler place a [trn] tag at the beginning of the card and a [/trn] tag at the end of the card. If there are other [trn] in the card, the card will not be compiled and an error will be reported (zones of the same type cannot be embedded). Other tags will not affect compilation.

When you carry out a full-text search the headword of the card will be displayed in the section of the Search dialog box which corresponds to the zone in which the search term has been found.