Previous: , Up: Dico Python Primitives   [Contents][Index]


5.6.2.2 The DicoStrategy class

A match strategy is represented by an object of the DicoStrategy class.

Variable of DicoStrategy: name

The name of that strategy.

Variable of DicoStrategy: descr

Textual description of the strategy.

Variable of DicoStrategy: has_selector

True’ if this strategy has a selector (see Python Selector).

Variable of DicoStrategy: name is_default

True’ if this is the default strategy.

Method on DicoStrategy: select headword key

Returns ‘True’ if key matches headword as per this strategy.