You can simplify your User Dictionary by reducing the number of entries through the use of Lookup operators. Each operator represents a certain pattern or range of characters that can be found in an expression or in a User Dictionary. For example, the Number operator represents any number.

sdm34

There are three types of predefined Lookup operators:

  • URL operator: match a URL (file path or Web URL)
  • Find operator: Use the Find operator to help reduce the size of a dictionary by factorizing entries.

sdm35

The corresponding entries match and translate “onion salad”, “carrot salad”, and any vegetable salad when the vegetables are listed in a separate “vegetable” dictionary.

  • Number operator: Match any number.

For example, the following Normalization Dictionary entry converts a sequence like “13°” into “13 degrees”

sdm36

Using the Textual Lookup Operators mode:

sdm37

You can view the textual sequence that corresponds to a lookup operator. This is useful when you need to insert several lookup operators in a UD and align them together.

For the example above, the textual representation is:

sdm38

The number following the lookup operator name (1 in the example) needs to be used consistently in the source and target to ensure that it identifies the same sequence.

(Visited 317 times, 1 visits today)